关闭

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

1694人阅读 评论(1) 收藏 举报

 解决:就是将注册表中的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呀
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:307111次
    • 积分:6380
    • 等级:
    • 排名:第4011名
    • 原创:196篇
    • 转载:121篇
    • 译文:1篇
    • 评论:55条
    文章分类