Kubuntu 16.04上的MySQl 5.7安装失败

前端之家收集整理的这篇文章主要介绍了Kubuntu 16.04上的MySQl 5.7安装失败前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Configuring MysqL-server-5.7 (5.7.11-0ubuntu6) … 
insserv: warning: current start runlevel(s) (empty) of script `MysqL' overrides LSB defaults (2 3 4 5). 
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `MysqL' overrides LSB defaults (0 1 6).
MysqL_upgrade: Got error: 2002: Can't connect to local MysqL server through socket '/var/run/MysqLd/MysqLd.sock' (2) while connecting to the MysqL server 
Upgrade process encountered error and will not continue. 
MysqL_upgrade Failed with exit status 11 
dpkg: error with
   MysqL-server-5.7 (--configure):

apt-get remove返回相同的结果.

从15.10升级到16.04会出现此错误

最佳答案
对我来说完全相同:运行级别警告和MysqL_upgrade错误.

我想这是因为我禁用了MysqL服务,启用它修复了问题:

sudo systemctl启用MysqL

猜你在找的MySQL相关文章