最近碰到一个怪现象。
在我自己的电脑(系统是xp)装有apache+php5+mysql。自从装有瑞星杀毒软件以后,每次我重新启动电脑后,连接数据库都会提示Can't connect to MySQL server on 'localhost' (10061)
无意中,我运行mysql的“mysql server instance configuration wizard”后,就可以连接上去。每次都需要这样重复做才可以连接。我以为是my.ini文件出错。每次都运行“mysql server instance configuration wizard”后,我都会备份一个my.ini文件。可是也没有效果。
现在在郁闷为什么这样?