Kubuntu 16.04上的MySQl 5.7安装失败
发布时间:2020-09-01 16:46:26 所属栏目:Ubuntu 来源:互联网
导读: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
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 (编辑:哈尔滨站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Ubuntu16.04 Caffe 安装步骤记录(超详尽)
- Ubuntu elasticsearch max virtual memory areas vm.max_ma
- Ubuntu安装nodejs
- ubuntu常用软件包deb的安装与卸载
- Ubuntu 16.04 x64搭建GitLab服务器操作笔记
- ubuntu下安装Python多版本的方法及注意事项
- Ubuntu+Django+Nginx+uWSGI+Mysql搭建Python Web服务器
- Autostart script in ubuntu
- Ubuntu 搭建基于Docker的LNMP+Redis的开发环境(图文)
- ubuntu解决resolv.conf被重写问题