修改phpMyAdmin文件下的: config.inc.php在第一次出现:
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
的地方改为你需要的值!
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
的地方改为你需要的值!
解决方案 »
- php4.0 dom
- 招聘信息!广州亚加度电脑软件开发有限公司将大量招聘软件开发人员和管理层人员,公司提供优良的发展空间,有竞争的薪酬制度和晋升机遇
- php+ORACLED 多用户访问时oracle报错ORA-01001无效的游标 !!!急急急!!!!
- 如何才能得到服务器和客户机的时间差?
- 帮忙看看,这个多行多列的数据显示,用摸班怎样来设置,很急的。
- 装MYSQL的问题.高手求救!
- 超级难题,高手和斑竹大人快看啊!!
- GD库的问题
- header函式怎样将数组参数传送到下一页?
- 为什么在php文件中post提取不到数据
- 关与PHP正则的应用,大家看看
- 我用php4+mysql,4.0.8做的程序,在PHP5+mysql4.1.2解析全显示?????? ,有谁可以帮我分析分析问题是出在哪里?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '123456'; // MySQL password (only needed改了,但是还是不对
提示说phpMyAdmin 试图连接到 MySQL 服务器,但服务器拒绝连接。您应该检查 config.inc.php 中的主机、用户名和密码,并且确定这些信息与 MySQL 服务器的管理员所给出的信息一致。MySQL 返回: #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '123456'; // MySQL password 部分都要改,不能只改一处。
mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
shell> mysql
Client does not support authentication protocol requested
by server; consider upgrading MySQL client官方的说法是MySQL 4.1 and up uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients. .....如果你升级mysql到4.1以上版本后遇到以上问题,请先确定你的mysql client 是4.1或者更高版本.(WINDOWS下有问题你就直接跳到下面看解决方法了,因为MYSQL 在WINDOWS是client和server一起装上了的)请使用以下两种方法之一其一:mysql> SET PASSWORD FOR
-> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');其二:mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('newpwd')
-> WHERE Host = 'some_host' AND User = 'some_user';
mysql> FLUSH PRIVILEGES;上面红色的部分请按自己实际情况修改....
这样做后,连接就会正常了@!
mysql>set password for root@"localhost"=old_password('pass');
这才是正确的语法