简体   繁体   中英

Downgrade Mysql 5.5.9 to 5.1 on Ubuntu 14.04

After upgrading to Ubuntu 14.04 Mysql 5.5.9 is incompatible with some of my scripts. I need to re-install Mysql 5.1. I tried research online but no luck

When I do

apt-get install mysql-server-5.1 mysql-client-5.1

Package mysql-server-5.1 is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: mysql-server-core-5.5:i386 mysql-server-5.5:i386 mysql-server-core-5.5 mysql-server-5.5

E: Package 'mysql-server-5.1' has no installation candidate E: Package 'mysql-client-5.1' has no installation candidate

Tried to find multiverse source but no luck, Anyone?

Uninstall existing mysql

sudo apt-get remove mysql-server

Download the MySQL APT repository config tool (as root)

wget http://dev.mysql.com/get/mysql-apt-config_0.3.5-1debian8_all.deb

Install the MySQL APT repository config tool

dpkg -i mysql-apt-config_0.3.5-1debian8_all.deb

Update APT

apt-get update

Install the server

apt-get install mysql-community-server

Thereby you can select the server you need and install

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM