【问题标题】:configure phpmyadmin configuration storage配置phpmyadmin配置存储
【发布时间】:2013-09-04 05:28:13
【问题描述】:

我设置了一个用户 'pma'@'localhost' 和密码和 SELECT、UPDATE、INSERT、DELETE 权限。 我有一个数据库 phpmyadmin,其中包含从 create_tables.sql 构建的表 我已经编辑了 config.inc.php 。 . .

/* User used to manipulate with storage */
 $cfg['Servers'][$i]['controlhost'] = 'localhost';
 $cfg['Servers'][$i]['controluser'] = 'pma';
 $cfg['Servers'][$i]['controlpass'] = 'XXXXXXXX';

/* Storage database and tables */
 $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';

我从未发现记录在哪些表格中以及以什么格式放置配置选项。 我将以下内容插入到 pma_userconfig 表的单行中

username    | ''
timevalue   | 2013-08-30 12:23:45
config_data |$cfg['NumRecentTables']=0;
             $cfg['NavigationTreeDisplayDbFilterMinimum']=999;
             $cfg['NavigationTreeEnableGrouping']=FALSE;
             $cfg['MaxRows']=100;
             $cfg['MaxTableList'] = 100;
             $cfg['MaxDBList'] = 100;

所有其他表都是空的,除了 pma_history 已经填充了自己。

这些配置选项都没有任何效果。我在表记录中尝试了不同的用户名。我已经为每个选项尝试了记录。

谁能告诉我这里缺少什么?这是正确的表格,正确的格式吗?

谢谢。

【问题讨论】:

    标签: configuration phpmyadmin


    【解决方案1】:

    您不必直接编辑这些表:它们由 phpMyAdmin 填充。例如,当您通过界面创建查询书签时,当您通过设置选项卡更改设置时等。

    【讨论】:

    • 是的,这终于发生了。我不知道我做了什么,因为我一直在尝试很多选项,但最后在 phpmyadmin 中设置了第一百次首选项后,它们被写入了 userconfig 表。我猜我的配置中的某些东西最初是不正确的。谢谢。
    猜你喜欢
    • 2016-02-22
    • 1970-01-01
    • 2014-03-24
    • 2012-05-28
    • 2017-07-11
    • 2011-05-20
    • 1970-01-01
    • 2014-03-02
    相关资源
    最近更新 更多