转自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
相关文章
- Mysql报错Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
- windows下 Mysql 错误1067 Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
- 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.user' doesn't exist
- mysql5.5 报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解决方法
- MySQL故障 Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
- Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
- 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