THe MySQL APT Repository provides an easy and convenient way to get the latest MySQL software. My test server was need of a refresh so I put on a fresh install of Ubuntu 14.04 and downloaded
sudo dpkg -i mysql-apt-config_0.2.1-1ubuntu14.04_all.deb
[sudo] password for dstokes:
Selecting previously unselected package mysql-apt-config.
You will get a choice to install MySQL 5.6 or the latest 5.7 DMR.
sudo apt-get update Pulls the latest information from the repository for the various packages.
sudo apt-get install mysql-server Installs the server and will start it running. And then a quick
sudo apt-get install mysql-workbench to get me where i needed to be.
There is a detailed information at A Quick Guide to Using the MySQL APT Repository
The installation instructions are nice, but rollback ones are a bit scarce.
By error I installed mysql-apt-config and run apt update on a server. While this did not upgrade the database itself, I had to jump to go through hoops to get the original version (Debian) back: after removing from the apt repos list the oracle one and specifying for reinstall the desired version of all mysql packages, I still was missing the error messages files, which prevented db startup. I had to manzually install the dpkg file to get them back…
[…] Read the original post: MySQL APT Repository | Open Source DBA's Blog […]
Thanks so much for this. It worked just when i needed it most