mysql启动报错:Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql启动报错:Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist相关的知识,希望对你有一定的参考价值。

mysql在首次启动的时候可能会报错:Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist

这时候可以执行脚本 mysql_install_db –user=mysql –ldata=数据存放的路径

以上是关于mysql启动报错:Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist的主要内容,如果未能解决你的问题,请参考以下文章

maven 启动 报错 Fatal error compiling: 无效的目标发行版

mysql安转过程中出现的问题! Fatal error: Can't open and lock privilege tables: Table 'mysql.user' d

mysql安转过程中出现的问题! Fatal error: Can't open and lock privilege tables: Table 'mysql.user' d

启动jupyter报错 Fatal error in launcher: Unable to create process using '"h:pythonpython.exe&(示

启动jupyter报错 Fatal error in launcher: Unable to create process using '"h:pythonpython.exe&(示

MySQL Got fatal error 1236原因和解决方法