Home > other >  Install MySql 5.6 on Ubuntu 16.04
Install MySql 5.6 on Ubuntu 16.04

Time:04-21

Seems to Ubuntu 16.04 with MySQL 5.7 release, but I need to install 5.6.
When I try to install it explicitly, sudo apt - get the install mysql server - 5.6 I have received the following error:

Package the mysql server - 5.6 is not available, but is referred to by another Package. The
This may mean that the package is missing, has had been obsoleted, or
Is only available from another source
Clear the following packages the replace it:
Mysql - community - server: i386 mysql - common: i386 mysql - community - mysql server - common percona xtradb - cluster server - 5.6: i386 percona server - server - 5.6: i386 mysql - testsuite - 5.7: i386
Mariadb server - 10.0: i386 percona xtradb - cluster - percona server - 5.6 - server - mysql server - 5.6 - the testsuite - mariadb 5.7 - mysql server - 10.0 - the server - core - 5.7: i386 mysql server - 5.7: i386 mysql server - core - 5.7
The mysql server - 5.7

Is there any way to install the 5.6?

CodePudding user response:

I use the following methods:

Sudo add apt - repository 'deb http://archive.ubuntu.com/ubuntu trusty universe'
Sudo apt to get the update
Sudo apt install mysql mysql server - 5.6 - the client - 5.6

If an error occurs during the execution of the last command, please see the comments part of the answer.

CodePudding user response:

Can you tell me the finally successfully installed version 5.6 it is mounted with compile it
  • Related