cd /etc/phpmyadmin
sudo vim config.inc.php

修改phpmyadmin的配置文件config.inc.php

$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
改成: $cfg['Servers'][$i]['pam_table_uiprefs'] = 'pma_table_uiprefs';

同理:#1146 - Table 'phpmyadmin.pma_recent' doesn't exist
$cfg['Servers'][$i]['recent'] = 'pma_recent';
改成:$cfg['Servers'][$i]['pma_recent'] = 'pma_recent';

使用配置文件中定义的控制用户连接失败。

找到phpmyadmin文件夹下面的config.inc.php文件并打开,找到这两行代码:
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
将其改成你的数据库用户和密码,保存文件;

 

 

相关文章:

  • 2021-06-13
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2021-10-20
猜你喜欢
  • 2022-12-23
  • 2021-12-09
  • 2021-06-01
  • 2021-06-14
  • 2021-07-25
  • 2022-12-23
  • 2021-07-08
相关资源
相似解决方案