介绍
这篇文章主要介绍如何开启phpMyAdmin高级功能,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
注:基于phpMyAdmin5.5,使用LNMP环境
<强>问题:强>
登录到<强> phpMyAdmin 强>以后,在主界面的底部,我们发现两条提示信息:
一条提示信息是“phpMyAdmin高级功能尚未完全设置,部分功能未激活。请点击这里查看原因”,另外一条信息是“配置文件现在需要一个短语密码。”
一旦出现这两条信息,就意味着phpMyAdmin中的部分功能不能使用。
解决这个问题的操作步骤分为三部分:
上传<代码> create_tables.sql 代码>文件,配置<代码> config.inc.php 代码>文件和修改<代码> config.default.php 代码>文件等。
<强>解决:强>
1。phpmyadmin数据库创建:
打开phpmyadmin目录,找到create_tables。sql
/*,Storage database 以及tables *///,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; pmadb& # 39;],=, & # 39; phpmyadmin # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; bookmarktable& # 39;],=, & # 39; pma__bookmark& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i][& # 39;关系# 39;],=,& # 39;pma__relation& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; table_info& # 39;],=, & # 39; pma__table_info& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; table_coords& # 39;],=, & # 39; pma__table_coords& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; pdf_pages& # 39;],=, & # 39; pma__pdf_pages& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; column_info& # 39;],=, & # 39; pma__column_info& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i][& # 39;历史# 39;],=,& # 39;pma__history& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; table_uiprefs& # 39;],=, & # 39; pma__table_uiprefs& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i][& # 39;跟踪# 39;],=,& # 39;pma__tracking& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; designer_coords& # 39;],=, & # 39; pma__designer_coords& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; userconfig& # 39;],=, & # 39; pma__userconfig& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i][& # 39;最近# 39;],=,& # 39;pma__recent& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i][& # 39;最喜欢# 39;],=,& # 39;pma__favorite& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i][& # 39;用户# 39;],=,& # 39;pma__users& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i][& # 39;用户组# 39;],=,& # 39;pma__usergroups& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; navigationhiding& # 39;],=, & # 39; pma__navigationhiding& # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; savedsearches& # 39;],=, & # 39; pma__savedsearches& # 39;;
将/*存储数据库和表*/语句下面的每一条语句前面的//(双斜杠)和空格全部去掉。
<强>注:强>
在/*存储数据库和表*/句子上面,有下面两行句子:
//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; controluser& # 39;],=, & # 39; pma # 39;;//,$ cfg[& # 39;服务器# 39;][$ i] [& # 39; controlpass& # 39;],=, & # 39; pmapass& # 39;;
如果需要,可以修改为:
$ cfg[& # 39;服务器# 39;][$ i] [& # 39; controluser& # 39;],=, & # 39;用户名& # 39;; $ cfg[& # 39;服务器# 39;][$ i] [& # 39; controlpass& # 39;],=, & # 39;密码& # 39;;
4。null