修改/home/wwwroot/phpmyadmin/libraries/config.default.php 文件,找到下面两行

$cfg['Servers'][$i]['nopassword'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;

将两个false改为true,同时设置 $cfg['Servers'][$i]['password'] = '';通过这样设置配置文件后phpmyadmin 就会允许以空密码方式登录mysql数据库了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2021-05-15
  • 2022-12-23
猜你喜欢
  • 2021-04-28
  • 2021-04-07
  • 2022-12-23
  • 2022-03-06
  • 2021-09-25
相关资源
相似解决方案