为什么phpmyadmin的配置都改了还是登陆不进去
P粉533053569
P粉533053569 2022-09-16 09:56:24
0
1
968

<?php/* Servers configuration */$i = 0;/* Server: localhost [1] */$i++;$cfg['Servers'][$i]['verbose'] = 'localhost';$cfg['Servers'][$i]['host'] ='localhost';$cfg['Servers'][$i]['port'] = '';$cfg['Servers'][$i]['socket'] = '';$cfg['Servers'][$i]['connect_type'] = 'tcp';$cfg['Servers'][$i]['extension'] = 'mysqli';$cfg['Servers'][$i]['auth_type'] = 'cookie';$cfg['Servers'][$i]['user'] = 'root';$cfg['Servers'][$i]['password'] = '';$cfg['Servers'][$i]['AllowNoPassword'] = true;/* End of servers configuration */$cfg['DefaultLang'] = 'en-utf-8';$cfg['ServerDefault'] = 1;$cfg['UploadDir'] = '';$cfg['SaveDir'] = '';/* rajk - for blobstreaming */$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';?>

按照配置,账户输入的root,密码为空,但是官方显示“空密码登录被禁止 (参见 允许空密码)”

后来又把配置里面的密码加上,但是使用账户和密码的方式还是登陆不上,有哪位大佬可以解答以下嘛?在线等,挺急的

P粉533053569
P粉533053569

全部回复(1)
王林

要是你想用空密码,将phpmyadmin下的config.inc.php(根目录)或者config.default.php(根目录)中的$cfg['Servers'][$i]['AllowNoPassword'] = false;改为$cfg['Servers'][$i]['AllowNoPassword'] = true;要是你想设置密码不为空则将$cfg['blowfish_secret'] = '123456'; // use here a value of your choice 你要设置的密码

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板