IIS 5.1+php5.2+mysql5.0提示错误如下:
MySQL 返回: #1045 - Access denied for user 'root'@'localhost' (using password: NO) 按照系统提示得到:
Not secure connection
You are not using secure connection, all data (including sensitive, like passwords) are transfered unencrypted! If your server is also configured to accept HTTPS request follow this link to use secure connection. 关于密码的设置我按照找到的资料测试过了
mysql密码为:123cmd-->mysql =u root -p 回车
输入123
是可以访问mysql的.
在config.inc.php中密码也设置为123,但还是报错
请问是什么问题?如何解决?
 

解决方案 »

  1.   

    http://www.phpx.com/happy/thread-135117-1-1.html
    看看这个帖子.
      

  2.   

    config.inc.php里$cfg['Servers'][$i]['auth_type']设为cookie
    config.inc.php里user和password不加都行
    不过以前版本里可以用auth_type=http,在3.0里我也没试出来,可能是加密算法改了
    cookie到底还是没http方便,但是至少能用
    对了,再提醒一下,改完第一行里说的那个,要清空下浏览器缓存和cookie才会起效
      

  3.   



    错误提示又变成:Fatal error: Call to a member function getName() on a non-object in D:\php_test\phpMyAdmin\libraries\common.inc.php on line 688