Ubuntu   发布时间:2022-05-10  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了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

大佬总结

以上是大佬教程为你收集整理的Kubuntu 16.04上的MySQl 5.7安装失败全部内容,希望文章能够帮你解决Kubuntu 16.04上的MySQl 5.7安装失败所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: