ubuntu16.04 mysql报错The program ‘mysql’ can be found in the following packages:
- 运行mysql -u root -p时报错信息,已经安装mysql-client:
The program ‘mysql’ can be found in the following packages:
* mysql-client-core-5.7
* mariadb-client-core-10.0
解决办法:
sudo apt-get purge mysql-client-core-5.6
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt install mysql-client-core-5.7
sudo apt install mysql-server参考:
https://askubuntu.com/questions/489815/cannot-install-mysql-server-5-5-the-following-packages-have-unmet-dependicies/489817
还没有评论,来说两句吧...