主题:  PHPmyadmin问题

romp

职务:普通成员
等级:1
金币:0.0
发贴:141
注册:2001/1/10 21:59:40
#12004/6/5 12:24:07
我修改CONFIG。IN。PHP后
不能登陆PHPMYADMIN了
但是我把$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['password'] = '123456';
改回来后,就出现
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error
MySQL said:
#1045 - Access denied for user: 'root@localhost' (Using password: NO)

所以我就重装PHPADMIN但是情况依旧。
怎么才能清楚原来的数据,干净的重装啊?~



Mike

职务:版主
等级:6
金币:11.0
发贴:5148
注册:2004/6/10 14:12:22
#22004/6/6 21:27:28
You mean reinstall phpmyadmin? I guess maybe he has set MySQL password (root) ,when the password has been set,for secure reason, The password let him cann't connect the database, right? How to login the phpmyadmin?? I met such question too.

编辑历史:[此帖最近一次被 iamdaijun 编辑过(编辑时间:2004-06-06 21:37:08)]


Mike

职务:版主
等级:6
金币:11.0
发贴:5148
注册:2004/6/10 14:12:22
#32004/6/6 21:34:30
#1045 - Access denied for user: 'root@localhost' (Using password: NO)



Mike

职务:版主
等级:6
金币:11.0
发贴:5148
注册:2004/6/10 14:12:22
#42004/6/6 21:35:30
The $cfg['PmaAbsoluteUri'] directive MUST be set in your configuration file!

Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.



Mike

职务:版主
等级:6
金币:11.0
发贴:5148
注册:2004/6/10 14:12:22
#52004/6/6 21:36:49
After I set the password, and I will never access the phpmyadmin once again!