Ubuntu Trusty 14.04 Mysql 5.6 安装不起作用

Ubuntu Trusty 14.04 Mysql 5.6 安装不起作用

我阅读了很多关于 ubuntu 14.04 上的 mysql 服务器和客户端 5.6 的问题,并尝试了所有方法,但仍然无法让它工作。

按照我已经采取的步骤

sudo apt-get update
sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
sudo rm -rf /var/lib/mysql
sudo rm -rf /etc/mysql
sudo apt-get install mysql-server-5.6

安装错误

Setting up mysql-common (5.6.25-3+deb.sury.org~trusty+1) ...
update-alternatives: error: alternative path /etc/mysql/my.cnf.fallback doesn't
exist
dpkg: error processing package mysql-common (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 mysql-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人能帮忙吗?非常感谢

相关内容