2022-04-12T01:23:17.251017Z 0 [ERROR] [MY-010316] [Server] Fatal error: Could not read the column 'authentication_string' from table 'mysql.user'. Please perform the MySQL upgrade procedure.
2022-04-12T01:23:17.251262Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
2022-04-12T01:23:17.258302Z 0 [ERROR] [MY-010119] [Server] Aborting
我的是MySQL8.0.17版本的
启动不了MySQL
你的报错信息:致命错误:无法从表“mysql”中读取列“authentication_string”。用户'。请执行MySQL升级过程。
建议卸载mysql,然后去官网下载新的mysql压缩包,管理员打开cmd命令,进入mysql的bin目录进行初始化,安装等一系列操作
可以参考这篇文章
这个错误的原因可能是1.更改了mysql安装路径;2.regedit的注册编辑表mysql80没有配置
1.选择高级系统设置 ;2.点击环境变量;3.选择path环境变量; 4.查看mysql配置是否是更改安装位置的路径
2、再测试连接
这个很简单,
用mysql——upgrade 命令去更新兼容一下表就可以了。