重新启动一下机子然后改一下一个什么host文件
在windows/system32下面吧
具体,我也记不起来了

解决方案 »

  1.   

    哪位高手帮帮忙,我的PHP在mysql的密码默认为空的时候能访问mysql数据库,但是我改了密码后就不能访问了,我也设置了PHP链接MYSQL串的密码为我改后的密码了的,可是还是链接不上数据库
      

  2.   

    进入MYSQL 命令行 SET PASSWORD FOR 'user'@'host' = OLD_PASSWORD('password'); example: 
    my user: is hy, my password: something and my host: localhost the command will be: SET PASSWORD FOR peter@localhost = OLD_PASSWORD('something');"