当前位置:Gxlcms > 数据库问题 > mysql启动报错:Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist

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

时间:2021-07-01 10:21:17 帮助过:4人阅读

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

标签:

人气教程排行