2011-09-19 56 views
0

我在Windows 7 SP1上使用WampServer 2.1,我无法设置MySQL来使用InnoDB表。配置InnoDB/WAMP/Windows 7

这里是我的configs的一部分(在config.inc.php中):

$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]['designer_coords'] = 'pma_designer_coords'; 
$cfg['Servers'][$i]['controluser'] = 'phpmyadmin'; 
$cfg['Servers'][$i]['controlpass'] = 'pmapass'; 

我已经创建了一个数据库名为phpMyAdmin的,用户phpMyAdmin的(和特权时对SELECT,UPDATE,DELETE和INSERT其DB)与密码pmapass。

我已经运行了create_tables.sql脚本并检查了表名,它们都是正确的。但是,在phpmyadmin中仍然出现此错误:

用于使用链接表的附加功能已被禁用。找出为什么点击这里。

这是诊断:

$cfg['Servers'][$i]['pmadb'] ... OK 
$cfg['Servers'][$i]['relation'] ... not OK [ Documentation ] 
General relation features: Disabled 

$cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ] 
Display Features: Disabled 

$cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ] 
$cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ] 
Creation of PDFs: Disabled 

$cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ] 
Displaying Column Comments: Disabled 
Browser transformation: Disabled 

$cfg['Servers'][$i]['bookmarktable'] ... not OK [ Documentation ] 
Bookmarked SQL query: Disabled 

$cfg['Servers'][$i]['history'] ... not OK [ Documentation ] 
SQL history: Disabled 

$cfg['Servers'][$i]['designer_coords'] ... not OK [ Documentation ] 
Designer: Disabled 

$cfg['Servers'][$i]['tracking'] ... not OK [ Documentation ] 
Tracking: Disabled 

不知道是否有任何与用户登录,但试图与根和phpMyAdmin的,没有任何成功。已经删除了所有的缓存,cookies等......用IE9,FF6和Chrome13试过(看过一些人说它不适用于Chrome)。也重新启动服务器并没有什么...

任何帮助表示赞赏:)

回答

0

出于某种原因,当我今天启动了我的电脑上所有的configs都行除了最后一个。我错过了这一个:

$cfg['Servers'][$i]['tracking'] = 'pma_tracking'; 

不得不删除所有的缓存和饼干像两次或三次! (使用Chrome和FF6)