添加后,MySql5.6扩展功能列为已停用

时间:2015-03-25 18:12:52

标签: php mysql phpmyadmin

MySql5.6 Apache2.4 PHP5.6 win8.1

我从 /examples/create_tables.sql

导入并运行了脚本

phpmyadmin pma结构现在......

pma__bookmark
pma__central_columns    
pma__column_info
pma__designer_coords
<b>pma__favorite</b>
pma__history
pma__navigationhiding
pma__pdf_pages
pma__recent
pma__relation
pma__savedsearches
pma__table_coords
pma__table_info
pma__table_uiprefs
pma__tracking
pma__userconfig
pma__usergroups
pma__users
18 tables   Sum 2   InnoDB  utf8_bin    368 KiB 0 B

config.ini.php 文件的存储数据库和表格部分是....

$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]['table_uiprefs'] = 'pma__table_uiprefs';
$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';
<b> $cfg['Servers'][$i]['favorite'] = 'pma__favorite';</b>
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
<b> $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns'</b>    

当我启动phpMyAdmin 时,我正在......

$cfg['Servers'][$i]['pmadb'] ...    OK
$cfg['Servers'][$i]['relation'] ... OK
General relation features: Enabled
$cfg['Servers'][$i]['table_info'] ...   OK
Display Features: Enabled
$cfg['Servers'][$i]['table_coords'] ... OK
$cfg['Servers'][$i]['pdf_pages'] ...    OK
Designer and creation of PDFs: Enabled
$cfg['Servers'][$i]['column_info'] ...  OK
Displaying Column Comments: Enabled
Browser transformation: Enabled
$cfg['Servers'][$i]['bookmarktable'] ...    OK
Bookmarked SQL query: Enabled
$cfg['Servers'][$i]['history'] ...  OK
SQL history: Enabled
$cfg['Servers'][$i]['recent'] ...   OK
Persistent recently used tables: Enabled
<b>$cfg['Servers'][$i]['favorite'] ...  not OK
Persistent favorite tables: Disabled </b>
$cfg['Servers'][$i]['table_uiprefs'] ...    OK
Persistent tables' UI preferences: Enabled
$cfg['Servers'][$i]['tracking'] ... OK
Tracking: Enabled 
$cfg['Servers'][$i]['userconfig'] ...   OK
User preferences: Enabled 
$cfg['Servers'][$i]['users'] ...    OK
$cfg['Servers'][$i]['usergroups'] ...   OK
Configurable menus: Enabled 
$cfg['Servers'][$i]['navigationhiding'] ... OK
Hide/show navigation items: Enabled
$cfg['Servers'][$i]['savedsearches'] ...    OK
Saving Query-By-Example searches: Enabled 
<b>$cfg['Servers'][$i]['central_columns'] ...   not OK
Managing Central list of columns: Disabled</b>

如果我注释掉config.ini.php中的行并重新启动数据库,我仍然会收到消息......“phpMyAdmin配置存储未完全配置,某些扩展功能已被停用”。

我已经在这里和其他资源中搜索了这些帖子但是找不到 pma__central_columns pma__favorite

的解决方案

任何人都可以提供具体的解决方案吗?

1 个答案:

答案 0 :(得分:5)

修复&#39;中心列&#39;问题:

  • 在文件$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';中添加/etc/phpmyadmin/config.inc.php,其中$cfg['Servers'][$i]...已定义。
  • 加载表格数据:mysql -u{db-user} -p{db-pass} < /usr/share/phpmyadmin/sql/create_tables.sql