【笔记】wamp mysql配置密码,设置phpmyadmin不自动登录

1.本地登录phpmyadmin执行: update user set password=password('123456') where user='root';  //更改密码 FLUSH PRIVILEGES;  //刷新数据库   2.修改文件:wamp\apps\phpmyadmin3.1.1\config.inc.php 将passwd值改为上步设置密码
$cfg['Servers'][$i]['password'] = $cfg['Servers'][$i]['password']='你的密码';
  3.修改文件:wamp\apps\phpmyadmin3.1.1\config.inc.php
$cfg['Servers'][$i]['auth_type'] = 'cookie';        //(原来是’config‘)
加入
$cfg['blowfish_secret'] = '任意字符串';

注:修改配置需重启服务。
posted @ 2013-10-12 14:51  test.cfs  阅读(195)  评论(0编辑  收藏  举报