修改config.inc.php文件如下: $cfg[‘blowfish_secret’] = ‘asdf1234as’; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ 在这里可以随便填写任意长度的字符串;
有的配置文章里提到修改
c
f
g
[
′
S
e
r
v
e
r
s
′
]
[
cfg['Servers'][
cfg[′Servers′][i][‘host’] = 'localhost’; 改为:
c
f
g
[
′
S
e
r
v
e
r
s
′
]
[
cfg['Servers'][
cfg[′Servers′][i][‘host’] = ‘127.0.0.1’;但我没有修改,目前还可以运行;
接着在浏览器中输入localhost/phpmyadmin/,可以打开登录界面;
在登录界面用户输入root,密码为MySQL的登录密码;
正常情况下会发生Warning: mysqli::real_connect(): (HY000/2002): No such file or directory