解决办法

打开 phpmyadmin里的config.inc.php文件

$cfg['Servers'][$i][ 'host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = ''; //有密码的话设置密码
$cfg['Servers'][$i]['only_db'] = '';

相关文章:

  • 2021-09-22
  • 2021-10-09
  • 2022-12-23
猜你喜欢
  • 2021-06-08
  • 2021-08-14
  • 2021-06-07
  • 2022-12-23
  • 2021-09-05
相关资源
相似解决方案