设置phpMyAdmin本地自动登陆

一般配置本地测试用的 phpMyAdmin 可以不用每次输入帐号密码,打开后自动登陆就行了。

版本:

phpMyAdmin 3.5.3 

打开:

phpMyAdmin 根目录

复制:

config.sample.inc.php

命名:

config.inc.php

查找:

$cfg['Servers'][$i]['auth_type'] = 'cookie';

修改:

$cfg['Servers'][$i]['auth_type'] = 'config';

添加:

$cfg['Servers'][$i]['user'] = 'root';

$cfg['Servers'][$i]['password'] = '123456';

密码为空则修改:

$cfg['Servers'][$i]['AllowNoPassword'] = true;

posted @ 2014-02-27 00:45  神神的蜗牛  阅读(164)  评论(0编辑  收藏  举报