Professional Documents
Culture Documents
For example, for version 1.5 of the package for Debian 7.0, the command is:
shell> sudo dpkg -i mysql-apt-config_0.1.5-1debian7_all.deb
For version 1.5 of the package for Ubuntu 12.04 LTS, the command is:
shell> sudo dpkg -i mysql-apt-config_0.1.5-1ubuntu12.04_all.deb
For version 1.5 of the package for Ubuntu 14.04 LTS, the command is:
shell> sudo dpkg -i mysql-apt-config_0.1.5-1ubuntu14.04_all.deb
e. During the installation of the package, choose the major release version you
want when asked by the dialogue box. Currently, the choices are
mysql-5.6
mysql-5.7-dmr
You can switch to another major release version later; see Selecting a Major
Release Version for instructions.
f. Use the following command to get the most up-to-date package information
from the MySQL APT repository:
g. shell> sudo apt-get update
Note
Once the MySQL APT repository is enabled on your system, you will no longer be able
to install any MySQL packages from your platform's native software repositories until
the MySQL APT repository is disabled.
This installs the package for the MySQL server, as well as the packages for the client
and for the database common files.
During the installation, there are two requests by the dialogue boxes:
Supply a password for the root user for your MySQL installation.
Important
Make sure you remember the root password you set. Users who want to set a
password later can leave the password field blank in the dialogue box and just
press OK. However, it is very important that you set the password soon using the
program mysql_secure_installation, as people can gain anonymous access to
your MySQL server until you have secured the database's root account with a
password.
Indicate if you want to install the test database with Yes or No. Installation
of the test database is not recommended for production environments.