ralph's blog

trace of the sunshine

  DonewsBlog  |  Donews首页  |  Donews社区  |  Donews邮箱  |  我的首页  |  联系作者  |  聚合   |  登录
  30篇文章 :: 0篇收藏:: 47篇评论:: 0个Trackbacks

公告

feedsky
鲜果
抓虾
google reader
哪吒
叽歪

文章

收藏

相册

friends:

mine:

存档


正在读取评论……



本文修改自chinaunix的原文。

我用的是phpmyadmin 2.6.0。每打开一个库的时候,会看到这么一句:

错误 使用链接表的额外特性尚未激活。要查出原因,请单击此处。

单击了所谓的此处后,会跳到一个页面显示:
PMA Database ... 不好[ 文档 ]
一般关系特性 已禁用

解决方法:

先建立一个名为phpmyadmin的数据库
然后把phpmyadmin目录下scripts/create_tables.sql导入到这个库
打开 config.inc.php 配置文件.

找到:
$cfg['Servers'][$i]['pmadb'] = ''; // 'phpmyadmin' - see scripts/create_tables.sql
$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]['pmadb'] = 'phpmyadmin'; // 'phpmyadmin' - see scripts/create_tables.sql
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; // 'pma_bookmark'
$cfg['Servers'][$i]['relation'] = 'pma_relation'; // 'pma_relation'
$cfg['Servers'][$i]['table_info'] = 'pma_table_info'; // 'pma_table_info'
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; // 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; // 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info'] = 'pma_column_info'; // 'pma_column_info'
$cfg['Servers'][$i]['history'] = 'pma_history'; // 'pma_history'

要注意的是,要改的部分有好几处,都要一一改过。

这样保存后刷新页面就好了。



Trackback: http://tb.donews.net/TrackBack.aspx?PostId=839803


[点击此处收藏本文]  发表于2006年04月21日 2:49 PM




正在读取评论……

发表评论

大名:
网址:
验证码
评论