我正在使用PHP 5.2.4版本的xampp 1.6.4版本,我試圖在xampp.I上安裝Magento最新版本。我在配置頁面出現錯誤。也就是說,它顯示'數據庫連接錯誤「。。在Windows上安裝Magento會顯示xampp上的數據庫連接錯誤?
數據庫連接
- 主機-----本地主機
- 數據庫名稱---- Magento的(在phpMyAdmin已經創建) :
- 用戶名----- root
- 密碼-----空白
字段我在頁面填滿
Web訪問選項
基本URL ------ http://127.0.0.1/magento/
管理路徑------管理
啓用圖表--- - 已檢查
跳過基本URL驗證在下一步--Checked
使用Web服務器(Apache)的重寫---未選中
使用安全網址(SSL)----未選中
會話存儲選項
11.保存會話數據輸入 - 文件系統
我已經在phpMyadmin.But中創建了Magento數據庫,當我點擊繼續它顯示錯誤。我不知道爲什麼嗎?請幫助我。
更新: phpMyadminConfiguration
$cfg['PmaAbsoluteUri'] = '';
$cfg['PmaNoRelation_DisableWarning'] = FALSE;
$cfg['blowfish_secret'] = 'xampp';
$i = 0;
$i++;
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['ssl'] = false;
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['SignonSession'] = '';
$cfg['Servers'][$i]['SignonURL'] = '';
$cfg['Servers'][$i]['LogoutURL'] = '';
$cfg['Servers'][$i]['nopassword'] = FALSE;
$cfg['Servers'][$i]['only_db'] = '';
$cfg['Servers'][$i]['hide_db'] = '';
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['pmadb'] = '';
的密碼是實際還是空白還是你只是躲在它的安全?也許它需要一個非空的密碼。 – clockworkgeek 2011-01-10 12:48:37
它實際上只是空的。我沒有隱藏任何東西在這裏。因爲它只是一個loalserver。即使那些沒有連接到互聯網。 – svk 2011-01-10 13:08:06
@clockworkgeek設置密碼後,我的本地主機phpmyadmin它不會顯示數據庫連接error.But它不會去下一頁,也基地址------ http://127.0.0.1/magento/更改爲基本URL ------ http:// localhost/magento /我不知道爲什麼? – svk 2011-01-11 05:04:21