為什麼phpmyadmin的設定都改了還是登陸不進去
P粉533053569
P粉533053569 2022-09-16 09:56:24
0
1
969

<?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 你要設定的密碼

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板