Dav*_*ave 17 php server-configuration phpmyadmin
错误是:
phpMyAdmin配置存储未完全配置,某些扩展功能已停用.要找出原因,请点击此处.
与Suhosin一起运行的服务器.有关可能的问题,请参阅文档.$ cfg ['Servers'] [$ i] ['pmadb'] ......好的
$ cfg ['Servers'] [$ i] ['relation'] ...不行[文档]
一般关系功能:已禁用$ cfg ['Servers'] [$ i] ['table_info'] ...不行[文档]
显示功能:已禁用$ cfg ['Servers'] [$ i] ['table_coords'] ...不行[文档]
$ cfg ['Servers'] [$ i] ['pdf_pages'] ...不行[文档]
创建PDF:禁用$ cfg ['Servers'] [$ i] ['column_info'] ...不行[文档]
显示列注释:已禁用
浏览器转换:已禁用$ cfg ['Servers'] [$ i] ['bookmarktable'] ...不行[文档]
书签SQL查询:已禁用$ cfg ['Servers'] [$ i] ['history'] ...不行[文档]
SQL历史记录:已禁用$ cfg ['Servers'] [$ i] ['designer_coords'] ...不行[文档]
设计师:已禁用$ cfg ['Servers'] [$ i] ['tracking'] ...不行[文档]
跟踪:禁用$ cfg ['Servers'] [$ i] ['userconfig'] ...不行[文档]
用户首选项:已禁用
我的config.inc.php文件如下:
/* 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
*/
Run Code Online (Sandbox Code Playgroud)
Tej*_*lli 61
我也有同样的问题.清除cookie和缓存为我工作.试试吧
小智 9
如果使用"create_tables.sql"创建数据库和表,请将表名更改pma__为pma_.(将2下划线更改为1下划线)
或者将"config.inc.php"中的表名更改pma_为pma__(将1下划线更改为2下划线).
例如,pma_bookmark到pma__bookmark
$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';
Run Code Online (Sandbox Code Playgroud)
VestaCP 团队为 phpMyAdmin 制作并成功测试了错误修复程序(不再出现烦人的消息“phpMyAdmin 配置存储未完全配置,一些扩展功能已被停用”)。我们希望修复将是有用的,并会帮助用户。
Github 页面:https : //github.com/skurudo/phpmyadmin-fixer
脚本的作用:
$cfg['Servers'][$i]['user'] = 'root'; //mysql username here
$cfg['Servers'][$i]['password'] = 'password'; //mysql password here
Run Code Online (Sandbox Code Playgroud)
尝试在之后添加上面的配置行$cfg['Servers'][$i]['connect_type'] = 'tcp';
如果这些也不起作用,则尝试使用新的配置文件,可以通过复制config.sample.inc.php。请确保它具有上述配置行。检查它是否工作正常,然后开始逐步对其进行更改,如果要进行任何更改。
请注意,您提供的用户名和密码应该能够从 mysql 命令提示符登录。