1
我有一个用户'pma'@'localhost'用密码和SELECT,UPDATE,INSERT,DELETE权限设置。 我有一个数据库phpmyadmin与从create_tables.sql构建的表 我编辑了config.inc.php。 。 。配置phpmyadmin配置存储
/* 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空。
这些配置选项都没有任何影响。我在表格记录中尝试了不同的用户名。我已经尝试了每个选项的记录。
任何人都可以告诉我什么是在这里失踪?这是正确的表格,正确的格式?
谢谢。
是的,那终于发生了。我不知道我做了什么,因为我一直在尝试这么多选项,但是最终在phpmyadmin中设置第一百次前缀后,它们被写入到userconfig表中。我想最初我的配置中有些东西不正确。谢谢。 – jimlongo