phpmyadmin基本功能已禁用的解决办法
2015-09-09 13:36
1316 查看
方法来自:蓝色梦想
问题症状:
新安装phpmyadmin后,出现“基本功能已禁用”等类似提示,不能使用一些高级功能。
解决办法:
以phpmyadmin4.4.14为例。
1. 在mysql中创建名为phpmyadmin的数据库。
2. 将phpmyadmin安装目录下的sql/create_tables.sql导入这个数据库。
3. 修改config.inc.php文件,如果没有则复制config.sample.inc.php一份重命名,内容如下:
$cfg['blowfish_secret'] = '';(设置短密码,随便填个字符串)
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root'; (你的用户名)
$cfg['Servers'][$i]['controlpass'] = 'password'; (你的密码)
/* Advanced phpMyAdmin features */
$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]['designer_coords'] = 'pma_designer_coords';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
4. 清除浏览器缓存和COOKIE,重启浏览器重新登录即可。
问题症状:
新安装phpmyadmin后,出现“基本功能已禁用”等类似提示,不能使用一些高级功能。
解决办法:
以phpmyadmin4.4.14为例。
1. 在mysql中创建名为phpmyadmin的数据库。
2. 将phpmyadmin安装目录下的sql/create_tables.sql导入这个数据库。
3. 修改config.inc.php文件,如果没有则复制config.sample.inc.php一份重命名,内容如下:
$cfg['blowfish_secret'] = '';(设置短密码,随便填个字符串)
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root'; (你的用户名)
$cfg['Servers'][$i]['controlpass'] = 'password'; (你的密码)
/* Advanced phpMyAdmin features */
$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]['designer_coords'] = 'pma_designer_coords';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
4. 清除浏览器缓存和COOKIE,重启浏览器重新登录即可。
相关文章推荐
- PHP中的一些边角料
- PHP开发中调试日志生成方法
- yii2安装 程序模板安装
- PHP版消灭星星实现算法
- PHP用文件锁模拟进程锁
- PHP heredoc技术
- php的异常处理 try catch
- RTP头简介
- thinkphp phpexcel使用
- 【ThinkPHP】ThinkPHP对Mysql数据库的增删改查,volist标签附带条件判断的用法
- PHP库收集
- PHP register_shutdown_function函数详解
- PHP:字符串转数组,数组转字符串;字符串截取、替换、查找
- php单例模式实现对象只被创建一次
- [PHP学习教程 - 系统]002.模拟守护进程(Daemon)-程序永远在后台运行
- CI框架源码阅读笔记6 扩展钩子 Hook.php
- PHP无法上传图片的解决方法
- phpcms v9 邀请用户注册自动获取积分奖励
- laravel file_put_contents 报错
- PHP命名空间(Namespace)的使用详解(转)