2012-06-25 71 views
1

當我點擊我的phpmyadmin頁面時,它給了我這個錯誤:phpMyAdmin無法讀取您的配置文件! 如果PHP在其中發現解析錯誤或PHP無法找到該文件,可能會發生這種情況。 請使用下面的鏈接直接調用配置文件,並閱讀您收到的PHP錯誤消息。在大多數情況下,某處引用或分號丟失。 如果您收到一個空白頁面,一切都很好。持久性xampp phpmyadmin錯誤

我今天早些時候下載了xampp並卸載了,因爲它給了我錯誤。所以,我剛纔重新安裝了它,我得到這個錯誤:(

我感謝您的建議,謝謝。

<?php 
/* 
* This is needed for cookie based authentication to encrypt password in 
* cookie 
*/ 
$cfg['blowfish_secret'] = 'xampp'; 

/* 
* Servers configuration 
*/ 
$i = 0; 

/* 
* First server 
*/ 
$i++; 

/* Authentication type and info */ 
$cfg['Servers'][$i]['auth_type'] = 'config'; 
$cfg['Servers'][$i]['user'] = 'root'; 
$cfg['Servers'][$i]['password'] = ''; 
$cfg['Servers'][$i]['extension'] = 'mysql'; 
$cfg['Servers'][$i]['AllowNoPassword'] = true; 

/* User for advanced features */ 
$cfg['Servers'][$i]['controluser'] = 'pma'; 
$cfg['Servers'][$i]['controlpass'] = ''; 

/* Advanced phpMyAdmin features */ 
$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]['tracking'] = 'pma_tracking'; 
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig'; 

/* 
* End of servers configuration 
*/ 

?> 
+0

這是一個默認的安裝還是你改變了什麼? –

+0

不,我沒有改變任何東西。這是我第一次點擊phpmyadmin –

回答

0

你試過要把它要求你直接訪問鏈接?

+0

「開始解析配置文件...「並且什麼都不做 –

+0

你可以將你的配置文件中的信息發佈到mindfu l評論你不想公開展示的任何敏感內容?它應該是phpMyAdmin文件夾中的config.inc.php。 – johnmadrak

+0

我剛剛將它添加到問題中。非常感謝 –