wamp里的数据库修改密码

1.打开http://localhost/phpmyadmin

2.点击“权限”  在下面加入新密码 重复密码

3.打开wamp\phpmyadmin\config.inc.php

     将$cfg['Servers'][$i]['auth_type']= 'config';变为$cfg['Servers'][$i]['auth_type'] = 'cookie';

     $cfg['blowfish_secret'] = '';  变为  $cfg['blowfish_secret'] = 'dlx';(随便填什么 只要是数字、字母组合)

$cfg['Servers'][$i]['password']      = '';   的值变为你要设置的密码

4.将php.ini里的short_open_tag = Off,改成On 

原文地址:https://www.cnblogs.com/tsunlight/p/2246971.html