![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
在phpmyadin2.3以上版本,在通过mysql管理,每新建1个数据库后在下面会出现个错误提示如下:
“错误
联系数据表的附加功能未能启动, 请按此 查出问题原因.
这是因为phpmyadin加了新功能。解决办法是
一,新建一个名字为phpmyadin的数据库
二。在phpmyadin中建数据表,可以直接从phpmyadin的scripts文件夹中导入sql文件,文件名字为create_tables.sql。
三,配置 config.inc.php 事实上也就是把你建立的表名称填到对应的位置。
这是在 phpmyadmin 2.5.1 rc1 的配置文件的片断 Line 84 -> Line 108
不同版本可以自己选择相应配置。这里要谢谢“vardana,”“冰流星”的帮助!
$cfg['Se
rvers'][$i]['pmadb'] = 'phpmyadmin'; // Database used for Relation, Bookmark and PDF Features
// (see scripts/create_tables.sql)
// - leave blank for no support
// DEFAULT: 'phpmyadmin'
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; // Bookmark table
// - leave blank for no bookmark support
// DEFAULT: 'PMA_bookmark'
$cfg['Servers'][$i]['relation'] = 'pma_relation'; // table to describe the relation between links (see doc)
// - leave blank for no relation-links support
// DEFAULT: 'PMA_relation'
$cfg['Servers'][$i]['table_info'] = 'pma_table_info'; // table to describe the display fields
// - leave blank for no display fields support
// DEFAULT: 'PMA_table_info'
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; // table to describe the tables position for the PDF schema
// - leave blank for no PDF schema support
// DEFAULT: 'PMA_table_coords'
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; // table to describe pages of relationpdf
// - leave blank if you don't want to use this
// DEFAULT: 'PMA_pdf_pages'
$cfg['Servers'][$i]['column_info'] = 'pma_column_info'; // table to store column information
// - leave blank for no column comments/mime types
// DEFAULT: 'PMA_column_info'
$cfg['Servers'][$i]['history'] = 'pma_history'; // table to store SQL history
// - leave blank for no SQL query history
// DEFAULT: 'PMA_history'

