用phpMyAdmin设置了root帐号的密码,就连不上mysql了

用phpMyAdmin设置了root帐号的密码,就连不上mysql了

用phpMyAdmin设置了root帐号的密码,phpMyAdmin的config.inc.php中的密码我也已经改过来了,不知道为什么就连不上了?
同样的我新建一个帐号,也是连不上。
总是提示:
#1045 - Access denied for user 'root'@'localhost' (using password: YES)
我用的是apache2.0 mysql5.0 phpMyAdmin2.8
望高手们帮帮忙!!!

只能以没有密码的root连接

请各位路过的帮助解答一下,先谢了

是用户名密码问题阿
毕业了。。。

$cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings
                                                    // (this user must have read-only
$cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user"
                                                    // and "mysql/db" tables).
                                                    // The controluser is also
                                                    // used for all relational
                                                    // features (pmadb)
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
$cfg['Servers'][$i]['password']      = '123456';   

上面两行的用户名和密码都为空
最下面两行是用户名和密码
如果还不行 把 $cfg['Servers'][$i]['auth_type']     = 'config'  的值config改为 http 这样每次打开phpmyadmin这前让输入用户名和密码

config改为 http ,还是不行啊

真不知道怎么回事,还是只能以没有密码的root连接

config.inc.php里设置$cfg['Servers'][$i]['auth_type']设为config时  只设置一个用户名就可以了吧。
关于设为HTTP连接不上的问题我也遇到过,到现在也没解决。。。

那个密码是没用的,你要想改root的密码,就进CMD里

cd d:\mysql\bin
mysqladmin -u root -p password 123456

用命令改