首 页   · 站长博客 · 用户注册 · 会员登陆  · 会员排行  ·最新主题  ·最近回复  精华区  版权声明  ·论坛管理
  当前登录身份:游客,请先登录。  笔名: 口令: 验证码:   
楼 主  index »  MYSQL/SQL语句/PHPMYADMIN专栏 » [转帖]"使用链接表的额外特性尚未激活.."修正办法!  


  作者:一起PHP
  注册时间:2004-02-27
  主题/回复:247/1521
  积分:4649
  等级:★★★★★☆(十一级)
  称号:论坛圣人

  nqp@nqp.me
  4304410
  www.nqp.me

 

 发表:2005-04-28 02:52:08 阅读 1967 次 回复 1 次 得分1  |   字号 字色
[转帖]"使用链接表的额外特性尚未激活.."修正办法!
"使用链接表的额外特性尚未激活.."修正办法! 
在使用了新的phpmyadmin (2.6.0-beta*或者更高版本) 来管理mysql后,你每打开一个库的时候,会看到这么一句: 

错误 

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

单击了所谓的此处后,会跳到一个页面显示: 

PMA Database ... 不好[ 文档 ] 
一般关系特性 已禁用 


Starting with version 2.3.0 phpMyAdmin offers a lot of features to work with master / foreign - tables. To use those as well as the bookmark feature you need special tables with a predefined structure, which we explain below. 

See the Quick Install section in this document for a quick way of creating those tables. Also, if you are using a Windows server, read FAQ 1.23. 

If you are the only user of this phpMyAdmin installation, you can use your current database to store those special tables; in this case, just put your current database name in $cfg['Servers'][$i]['pmadb']. 

If you are setting up a multi-user phpMyAdmin installation, you will need to create a new database and setup special privileges, so, as superuser: 



create a new database for phpMyAdmin: 
CREATE DATABASE phpmyadmin; 
Note that "controluser" must have SELECT, INSERT, UPDATE and DELETE privileges on this database. Here is a query to set up those privileges (using "phpmyadmin" as the database name, and "pma" as the controluser): 
GRANT SELECT,INSERT,UPDATE,DELETE ON phpmyadmin.* to 'pma'@'localhost'; 
do not give any other user rights on this database. 
enter the database name in $cfg['Servers'][$i]['pmadb'] 


1.先建立一个名为phpmyadmin的数据库 

2.然后把目录下scripts/create_tables.sql导入到这个库 

mysqldir/bin/mysql -u root -p /phpadmin_dir/scripts/create_tables.sql 
3.打开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' 


这样保存后刷新页面就好了``
 
 1#楼  
 
  回复人:rredg
  注册时间:2005-05-26
  主题/回复:0/10
  积分:409
  等级:★★☆(五级)
  称号:略有小成

   
 1#楼 发表于2005-05-28 06:56:52  评分:1 

可我设置了$cfg['PmaAbsoluteUri'] = 'http://localhost/admin/'就ok 了
为什么呀?我再读读代码吧!
  页数1/1首页 « 1 » 末页
  发表回复:您还没有登陆,无法发表回复。请先[登陆]

一起PHP技术联盟 主办:一起PHP 联系方式:站长QQ:4304410 QQ群:8423742 20159565 站长博客 E-mail: nqp@nqp.me 执行时间:0.008sec
SimsmaBBS 2008 (v6.0) Developed by 17php.com,Copyright(C)2003-2010 All rights reserved. 副本授权:一起PHP官方专用版