boomerliner.blogg.se

Install mysql ubuntu 17 production
Install mysql ubuntu 17 production













#Install mysql ubuntu 17 production install

Sudo apt update & sudo apt install mysql-client mysql-server For this create file /etc/apt//mysql.list with content For this create the file /etc/apt/preferences.d/mysql with content Pin the version of mysql-client and mysql-server to 5.7*.To do that run sudo rm /etc/apt//bionic.listĮxtending on the answers of both Kulfy and NSwanson7, the installation can be fixed to version 5.7.*. I'd recommend to delete Bionic's repository after the installation since having repository information of other releases can sometime break the installation. Fo that run: echo "deb bionic-security restricted main" | sudo tee /etc/apt//bionic.list To install using Ubuntu's repositories, add Ubuntu 18.04's official repositories, update the cache and instal MySQL 5.7. To get out of that I needed to install MySQL client using APT first sudo apt install mysql-client=5.7.29-1ubuntu18.04 Note: For some reasons in my installation APT wasn't installing mysql-client while installing MySQL Server 5.7 which is a dependency of MySQL Community Server which in turn is a dependency of MySQL Server due to which dependency issues occured. sudo apt install mysql-server=5.7.29-1ubuntu18.04

install mysql ubuntu 17 production

Update and check which version of MySQL 5.7 is currently available sudo apt updateĪt the time of writing this answer, 5.7.29-1ubuntu18.04 was available. The following signatures couldn't be verified because the public key is not available: NO_PUBKEY Īdd this key using sudo apt-key adv -keyserver -recv-keys

install mysql ubuntu 17 production

You'll get an error, like Err:1 bionic InRelease

install mysql ubuntu 17 production

Save and exit using Ctrl+ X followed by Y. You can comment/uncomment the repository according to the packages required. To use MySQL's repository for Ubuntu 18.04įirst of all create a new text file with sudo privileges: sudo nano /etc/apt//mysql.listĪdd these lines: deb bionic mysql-apt-config You can install MySQL Server 5.7 on Eoan using Bionic's repository. MySQL server 5.7 isn't available in the repositories of Eoan Ermine (19.10) but is available in Bionic Beaver (18.04) from Ubuntu's official repostories as well as MySQL's.













Install mysql ubuntu 17 production