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呀
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值