PMA数据库......在phpMyAdmin升级中不行

rpd*_*rpd 26 mysql phpmyadmin

我刚刚在我的Win8 PC IIS localhost上与phpMyAdmin和MySQL服务器争吵(这些之间没有连接,我认为是由于MySQL服务没有启动所以我重新安装了MySQL并重新配置了配置并重新建立了它们之间的连接,这固定了).

然而,phpMyAdmin建议我通过用新版本覆盖文件并包括之前的配置文件来做更新.

我现在有:
The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click here.
并且点击我得到
PMA Database ... not OK [ Documentation ]
General relation features Disabled
当我点击链接时,我得到一个http 404页面给出了这个:

Physical path C:\inetpub\wwwroot\phpMyAdmin\pmadb
Run Code Online (Sandbox Code Playgroud)

那么phpMyAdmin中的pmadb是什么呢?我应该为此烦恼吗?就目前而言,我有点厌倦了不得不花时间调整所有这些(即它不是一个平稳的无故障事件/安装).是旧版本的DB还是什么?我不认为我创造了它!

希望我可以为我的localhost IIS网站设置我的数据库并按下我的webdeverry(!),但我真的不喜欢这个未知的错误并且不介意修复它/摆脱它我不觉得这很烦恼它的.

rpd*_*rpd 26

在我所遵循的同一个问题上有一些谷歌链接帮助我解决了这个问题(我应该在发布之前花更多时间谷歌搜索!).因此,为了解决这个问题,我需要创建一个phpmyadmin数据库并导入create_tables.sql并为其分配一个具有完全权限的新用户,然后取消注释config.inc.php文件:

/* User used to manipulate with storage */ $cfg['Servers'][$i]['controlhost'] = ''; $cfg['Servers'][$i]['controluser'] = 'phpmyadmin';

并取消注释下面的行

/* Storage database and tables */ $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';

我还需要从新版本添加一些行config.sample.inc 有一个很好的链接描述我想要保存但我必须清除我的浏览器缓存以重新加载localhost/phpMyAdmin并且这样做我丢失了我的历史和那个链接!

我知道这个解释并没有完全描述,但我希望它可以帮助其他任何在更新phpMyAdmin后遇到类似问题的人.我仍然不确定所有这些功能的功能,但现在已全部修复,谢谢!

  • ***并取消评论***以下的行可能会产生误导.更正,取消注释**所有**行以$ cfg开头['Servers'] [$ i] ...不包括... ['auth_swekey_config'] (2认同)

小智 12

由于我的英语不是很好,我使用谷歌翻译,所以任何错误我很抱歉;)

您好,我有同样的问题和解决方案:

设置完所有phpmmyadmin之后,你需要在phpmyadmin sql控制台本身运行文件"create_tables",发现于: phpmyadmin\sql\create_tables.sql

创建后,您需要配置phpmyadmin文件夹中的"config.inc"文件.在其中包含以下信息等于文件"config.sample.inc",这是一个示例.

/* User used to manipulate with storage */
$cfg['Servers'][$i]['controlhost'] = 'localhost';
$cfg['Servers'][$i]['controluser'] = 'user';
$cfg['Servers'][$i]['controlpass'] = 'password';

/* Storage database and tables */
$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';
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
Run Code Online (Sandbox Code Playgroud)

编辑:(@Greeso建议)

对于新版本,您还应添加:

$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
$cfg['Servers'][$i]['favorite'] = 'pma__favorite';
Run Code Online (Sandbox Code Playgroud)

完成,退出并重新进入会话.