search

Home  >  Q&A  >  body text

Why can’t I log in even after changing the configuration of phpmyadmin?

<?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';?>

According to the configuration, account input root, the password is empty, but the official display is "Login with empty password is prohibited (see Allowing empty passwords)"

Later, the password in the configuration was added, but the account and password were used I still can't log in, can anyone give me the answer below? Waiting online, it's very urgent

P粉533053569P粉533053569880 days ago1014

reply all(1)I'll reply

  • 王林

    王林2022-09-20 19:14:30

    If you want to use an empty password, change $cfg['Servers'][$i]['AllowNoPassword' in config.inc.php (root directory) or config.default.php (root directory) under phpmyadmin ] = false; change to $cfg['Servers'][$i]['AllowNoPassword'] = true; if you want to set the password to not be empty, change $cfg['blowfish_secret'] = '123456'; // use here a value of your choice The password you want to set

    reply
    0
  • Cancelreply