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

net start mysql启动失败,报错信息如上,因缺少mysql这个库

所以跳过

在my.ini中添加

--skip-grant-tables

再启动mysql

然后进入mysql 倒入一个从其他机器中拷贝的mysql.sql

再把my,ini中的--skip-grant-tables注释掉

就可以启动了!

posted @ 2017-12-18 09:08  mrwuzs  阅读(870)  评论(0编辑  收藏  举报