第一步:

使用Mysql管理员帐号通过phpmyadmin登陆,然后点击“导入”,然后点击“浏览”按钮,找到phpmyadmin/examples/create_tables.sql 文件。把它导入就OK了

第二步:

打开phpmyadmin文件夹下的“config.sample.inc.php”文件并复制,重命名为“config.inc.php”,(如果已经有“config.inc.php”文件,直接修改即可),使用文本编辑工具打开该文件。对其进行修改。

第三步:

分别修改下面选项为:

$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';

$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';

$cfg['Servers'][$i]['relation'] = 'pma__relation';

$cfg['Servers'][$i]['table_info'] = 'pma__table_info';

$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';

$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';

$cfg['Servers'][$i]['column_info'] = 'pma__column_info';

$cfg['Servers'][$i]['history'] = 'pma__history';

$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';

$cfg['Servers'][$i]['tracking'] = 'pma__tracking';

$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';

$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';

$cfg['Servers'][$i]['recent'] = 'pma__recent';

  • PS:把前面“//”去除即可,不要复制。

第四步:

注销phpmyadmin之后并重新登录。大功告成

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-02-07
  • 2021-07-21
  • 2021-04-20
  • 2021-06-21
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-01-11
  • 2022-12-23
  • 2021-09-25
相关资源
相似解决方案