打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
PhpMyAdmin 配置
1
$cfg['blowfish_secret'] = '这里就是需要的短语密码';  /* 短语密码请随意填写 */
原因:会出现这个问题,就是因为这段:$cfg['Servers'][$i]['auth_type'] = ‘cookie'
这里有四个值可供填写:cookie http HTTP config
config方式即输入phpmyadmin的访问网址即可直接进入,无需输入用户名和密码,是不安全的,不推荐使用。
cookie,http或HTTP时,登录phpmyadmin需要数据用户名和密码进行验证,
具体如下:PHP安装模式为Apache,可以使用http和cookie;PHP安装模式为CGI,可以使用cookie
通常这个值设置为cookie即可。
二、phpMyAdmin 高级功能未全部设置,部分功能不可用。
原因请先看官方的详细说明:
若要使用一些高级功能 (如: 书签、注释、SQL 查询历史、结构追踪、生成 PDF 、内容转换等),你需要创建一些特殊的数据表。这些表可以放在你自己的数据库里,也可以在一个多用户的服务器上创建一个独立的数据库 (这个数据库将通过其对应的账号访问,所以不应该给其他用户访问这个数据库的权限)。
Please look at your ./examples/ directory, where you should find a file called create_tables.sql. (If you are using a Windows server, pay special attention to FAQ 1.23).
If you already had this infrastructure and upgraded to MySQL 4.1.2 or newer, please use ./examples/upgrade_tables_mysql_4_1_2+.sql and then create new tables by importing ./examples/create_tables.sql.
你可以使用 phpMyAdmin 来创建这些数据表。但请注意,你可能需要特殊 (管理员) 权限来创建数据库和数据表,而且可能还需要根据实际所使用的数据修改这个脚本中数据库的名字。
After having imported the ./examples/create_tables.sql file, you should specify the table names in your ./config.inc.php file. The directives used for that can be found in the Configuration section. You will also need to have a controluser with the proper rights to those tables (see section Using authentication modes below).
说明这些功能是不必须的,可以不理会,一定要做按下面步骤来,已经为你翻译了
解决方法:
1、在mysql中创建名为phpmyadmin的数据库。
2、将phpmyadmin安装目录下的examples/create_tables.sql导入这个数据库。
3、修改libraries中的config.default.php文件,内容如下(查找关键词并修改):
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$cfg['Servers'][$i]['controluser'] = 'username';  /* 数据库用户名 */
$cfg['Servers'][$i]['controlpass'] = 'password';  /* 数据库密码 */
$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';
$cfg['Servers'][$i]['recent'] = 'pma_recent';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
保存上传到服务器,重新登录phpMyAdmin,搞定收工。
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
XAMPP:访问phpmyadmin出错的解决方案
phpmyadmin链接表的附加功能尚未激活的解决方法
phpMyAdmin安装教程
phpMyAdmin设置登录模式(显示登录界面)
phpmyadmin更改用户名和密码
PHPMyadmin配置文件详解
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服