2011-09-19 68 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)