Mysql Administrator 弹出"Could not find settings"错误

 解决:就是将注册表中的HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/MySQL/ImagePath
值由C:/mysql/bin/mysqld.exe MySQL 改成"C:/mysql/bin/mysqld.exe" --defaults-file="C:/WINDOWS/MY.INI" MySQL

原因:This happens because MySQL Administrator cannot find the location of your My.ini file. To correct this, go to Control Panel->Administrative Tools->Services and check the Properties entry (right-mouse click) against MySQL.

What you are looking for is 'Path to executable:'.

This probably reads as
C:/mysql/bin/mysqld.exe MySQL

It needs to be changed to
"C:/mysql/bin/mysqld.exe" --defaults-file="C:/WINDOWS/MY.INI" MySQL

The only way I have found of doing this is to alter the Registry, using Regedit.

The key to be changed is
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/MySQL/ImagePath

You need to modify the key to read as above, including the quotes.

Stop and restart the MySQL service, and MySQL Administrator should then work correctly.
问题:php5 Fatal error: Call to undefined function mysql_connect() in
解决:我过早地将php.ini从php目录下复制到系统windows目录下,导致了我改了php/php.ini,而没有改windows/php.ini的文件,只需要将php.ini再从php文件夹复制到windows目录下
 》》》不发布到网页就找不到文件,但却生成了tag,google也收录了,csdn是不是有点bug呀
阅读更多
个人分类:
上一篇初学解释器模式(asp.net2.0)
下一篇初学解释器模式(asp.net2.0) [序]
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭