- 工信部备案号 滇ICP备05000110号-1
- 滇公安备案 滇53010302000111
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
ERROR 2013 (HY000): Lost connection to MySQL server during query
查看报错日志如下:tail -fn 30 /var/log/mysqld.log
2017-10-25 12:56:22 112085 [ERROR] Missing system table mysql.proxies_priv; please run mysql_upgrade to create it
2017-10-25 12:56:22 112085 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
2017-10-25 12:56:22 112085 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
2017-10-25 12:56:22 112085 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
2017-10-25 12:56:22 112085 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
看报错日志一直在提示wrong structure(结构错误),通常结构错误是由升级MySQL版本导致的,虽然没有升级,但是在安装MySQL5.6.22前,安装的是5.1版本,可能是由于卸除的不干净也会导致
解决方法
执行升级脚本命令:
/usr/local/mysql/bin/mysql_upgrade -u root -p
输入密码后回车,再次赋权成功
售前咨询
售后咨询
备案咨询
二维码
TOP