数据库
首页 > 数据库> > Table 'mysql.user' doesn't exist解决方案

Table 'mysql.user' doesn't exist解决方案

作者:互联网

场景

        现场卸载MySQL数据库之后,重装升级。执行./mysqld --user=mysql指令,提示出错

[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

解决

        发现/etc目录下,并没有MySQL数据库的配置文件my.cnf,拷贝配置,解决问题

标签:mysql,doesn,exist,user,MySQL,Table
来源: https://blog.51cto.com/fengyuzaitu/2756155