欢迎光临
我们一直在努力

“phpMyAdmin 高级功能未全部设置,部分功能不可用。要查出原因请点这里”解决方法

一、在登录phpmyadmin管理数据库,会出现“配置文件现在需要一个短语密码”的警告,这个也不必太理会
解决方法:
打开目录phpmyadmin/libraries中的config.default.php文件
查找下面这行:$cfg[‘blowfish_secret’],按下面方法修改:

PHP
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,搞定收工



微信扫描下方的二维码阅读本文

赞(1)
未经允许不得转载:简单网 » “phpMyAdmin 高级功能未全部设置,部分功能不可用。要查出原因请点这里”解决方法

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址