设置SQL_MODE后无法连接MySQL

时间:2017-03-13 03:03:54

标签: wamp wampserver

I am using wampserver 2.5, I have to change some configuration of my.ini
I added these lines in my.ini file.

[mysqld]
SQL_MODE = "NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

添加这些行并重新启动我的wamp后,我无法与MySQL建立连接,并且wamp图标的颜色也是橙色。

错误:

MySQL said: Documentation

#2002 - No connection could be made because the target machine actively refused it.

The server is not responding (or the local server's socket is not correctly configured). 

0 个答案:

没有答案