MySQL APT Repository


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 mysql-apt-config_0.2.1-1ubuntu14.04_all.deb.

sudo dpkg -i mysql-apt-config_0.2.1-1ubuntu14.04_all.deb
[sudo] password for dstokes:
Selecting previously unselected package mysql-apt-config.
(snip)

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

Advertisement

3 Responses to MySQL APT Repository

  1. gggeek says:

    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…

  2. […] Read the original post: MySQL APT Repository | Open Source DBA's Blog […]

  3. Thanks so much for this. It worked just when i needed it most

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: