windows下Mysql解决Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

来源:互联网 发布:金越软件招聘 编辑:程序博客网 时间:2024/05/18 00:38
转自VC错误:http://www.vcerror.com/?p=2004
问题描述:

在windows下安装完Mysql他的数据库默认是在 C:\Documents and Settings\All Users\Application Data\下面的。所以为了安全和便于管理,就将Mysql安装目录下面的My.ini下的Datadir="新路径" 修改了一个自己想要存放的目录的
服务器重启后发现 应用程序 那边出现了Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist 错误。


解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=2004
0 0
原创粉丝点击