首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >配置文件出现PhpMyAdmin错误

配置文件出现PhpMyAdmin错误
EN

Stack Overflow用户
提问于 2012-11-16 07:52:14
回答 8查看 66.4K关注 0票数 19

错误包括:

phpMyAdmin配置存储未完全配置,某些扩展功能已停用。了解原因,请单击此处。

运行Suhosin的服务器。有关可能出现的问题,请参阅文档。

$cfg‘’Servers‘’pmadb‘...OK $cfg‘’Servers‘’relation‘...not OK文档

常规关系功能:已禁用$cfg‘’Servers‘’table_info‘...not OK文档

显示功能:已禁用$cfg‘’Servers‘’table_coords‘...文档不正常$cfg‘’Servers‘’pdf_pages‘...not OK文档

创建...not :已禁用$cfg‘’Servers‘’column_info‘PDFs文档

显示列注释:禁用

浏览器转换:已禁用$cfg‘’Servers‘’bookmarktable‘...not OK文档

加书签的SQL查询:已禁用$cfg‘’Servers‘’history‘...not OK文档

SQL历史记录:已禁用$cfg‘’Servers‘’designer_coords‘...not OK文档

设计器:已禁用$cfg‘’Servers‘’tracking‘...not OK文档

跟踪:已禁用$cfg‘’Servers‘’userconfig‘...not OK文档

用户首选项:禁用的

我的config.inc.php文件如下:

代码语言:javascript
复制
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * phpMyAdmin sample configuration, you can use it as base for
 * manual configuration. For easier setup you can use setup/
 *
 * All directives are explained in Documentation.html and on phpMyAdmin
 * wiki <http://wiki.phpmyadmin.net>.
 *
 * @package phpMyAdmin
 */

/*
 * This is needed for cookie based authentication to encrypt password in
 * cookie
 */
$cfg['blowfish_secret'] = 'myblowfishpass';

/*
 * Servers configuration
 */
$i = 0;

/*
 * First server
 */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = false;

/*
 * phpMyAdmin configuration storage settings.
 */

/* User used to manipulate with storage */
 $cfg['Servers'][$i]['controluser'] = 'dave1';
 $cfg['Servers'][$i]['controlpass'] = 'mypassword';

/* Storage database and tables */
 $cfg['Servers'][$i]['pmadb'] = 'wordpress_db'; //the name of my db table
 $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; //does the pma_ need to change to dave1_?
 $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]['tracking'] = 'pma_tracking';
 $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
 $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
/* Contrib / Swekey authentication */
 $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

/*
 * End of servers configuration
 */

/*
 * Directories for saving/loading files from server
 */
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

/**
 * Defines whether a user should be displayed a "show all (records)"
 * button in browse mode or not.
 * default = false
 */
  $cfg['ShowAll'] = true;

/**
 * Number of rows displayed when browsing a result set. If the result
 * set contains more rows, "Previous" and "Next".
 * default = 30
 */
  $cfg['MaxRows'] = 50;

/**
 * Use graphically less intense menu tabs
 * default = false
 */
//$cfg['LightTabs'] = true;

/**
 * disallow editing of binary fields
 * valid values are:
 *   false  allow editing
 *   'blob' allow editing except for BLOB fields
 *   'all'  disallow editing
 * default = blob
 */
//$cfg['ProtectBinary'] = 'false';

/**
 * Default language to use, if not browser-defined or user-defined
 * (you find all languages in the locale folder)
 * uncomment the desired line:
 * default = 'en'
 */
  $cfg['DefaultLang'] = 'en';
//$cfg['DefaultLang'] = 'de';

/**
 * default display direction (horizontal|vertical|horizontalflipped)
 */
//$cfg['DefaultDisplay'] = 'vertical';


/**
 * How many columns should be used for table display of a database?
 * (a value larger than 1 results in some information being hidden)
 * default = 1
 */
//$cfg['PropertiesNumColumns'] = 2;

/**
 * Set to true if you want DB-based query history.If false, this utilizes
 * JS-routines to display query history (lost by window close)
 *
 * This requires configuration storage enabled, see above.
 * default = false
 */
//$cfg['QueryHistoryDB'] = true;

/**
 * When using DB-based query history, how many entries should be kept?
 *
 * default = 25
 */
//$cfg['QueryHistoryMax'] = 100;

/*
 * You can find more configuration options in Documentation.html
 * or here: http://wiki.phpmyadmin.net/pma/Config
 */
EN

回答 8

Stack Overflow用户

发布于 2013-02-18 02:08:42

我也有同样的问题。清除cookie和缓存对我来说很有效。试试看

票数 62
EN

Stack Overflow用户

发布于 2013-05-12 01:25:09

如果您使用"create_tables.sql“来创建数据库和表,请将表名称pma__更改为pma_。(将2下划线改为1下划线)

或者将"config.inc.php“中的表名改为pma__ (将1下划线改为2下划线)。

例如,从pma_bookmarkpma__bookmark

代码语言:javascript
复制
$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]['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]['table_uiprefs'] = 'pma__table_uiprefs';
票数 9
EN

Stack Overflow用户

发布于 2016-01-24 04:50:28

VestaCP团队制作并成功测试了phpMyAdmin的错误修复程序(不再有令人讨厌的消息“phpMyAdmin配置存储未完全配置,一些扩展功能已被停用”)。我们希望修复将是有用的,并将帮助用户。

Github上的页面:https://github.com/skurudo/phpmyadmin-fixer

脚本的作用:

  • 从用户根开始工作;本地主机在/etc/ phpmyadmin /config.inc.php中更改,固定值;
  • 备份/root文件夹中的/etc/phpmyadmin/config.inc.php;添加mysql pma用户/和表phpmyadmin(如果用户"pma“或表"phpmyadmin”已经存在,则脚本将删除those!);
  • download并为数据库本地临时文件、剩余的pma.txt (包含pma@pma.txt的密码)和旧配置添加表;
票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13408281

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档