在hpMyAdmin目录下打开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'] = '5655342'; // MySQL password (only needed
// with 'config' auth_type)把user和password该为你的mysql用户和密码就可以了
上面是我的phpMyadmin设置,用 root登陆
我用的是phpMyAdmin 2.5.5,
我先个应该查差不多吧!
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '5655342'; // MySQL password (only needed
// with 'config' auth_type)把user和password该为你的mysql用户和密码就可以了
上面是我的phpMyadmin设置,用 root登陆
我用的是phpMyAdmin 2.5.5,
我先个应该查差不多吧!
修改为:$cfg['Servers'][$i]['auth_type'] = 'cookie';
你在访问的时间根据提供给你的用户名密码访问就可以了