[英]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. 升级到Ubuntu 14.04后,Mysql 5.5.9与我的某些脚本不兼容。 I need to re-install Mysql 5.1.
我需要重新安装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 这可能意味着该软件包丢失,已被废弃或只能从其他来源获得。但是,以下软件包将其替换:mysql-server-core-5.5:i386 mysql-server-5.5:i386 mysql-server-core-5.5 mysql的服务器 - 5.5
E: Package 'mysql-server-5.1' has no installation candidate E: Package 'mysql-client-5.1' has no installation candidate E:软件包“ mysql-server-5.1”没有安装候选E:软件包“ mysql-client-5.1”没有安装候选
Tried to find multiverse source but no luck, Anyone? 试图找到多元宇宙的来源,但没有运气,有人吗?
Uninstall existing mysql 卸载现有的mysql
sudo apt-get remove mysql-server
Download the MySQL APT repository config tool (as root) 下载MySQL APT存储库配置工具(以根用户身份)
wget http://dev.mysql.com/get/mysql-apt-config_0.3.5-1debian8_all.deb
Install the MySQL APT repository config tool 安装MySQL APT存储库配置工具
dpkg -i mysql-apt-config_0.3.5-1debian8_all.deb
Update APT 更新APT
apt-get update
Install the server 安装服务器
apt-get install mysql-community-server
Thereby you can select the server you need and install 因此,您可以选择所需的服务器并进行安装
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.