我正在使用 xampp 版本 1.6.4 和 PHP 版本 5.2.4,我正在尝试在 xampp 上安装 Magento 最新版本。我在配置页面中遇到错误。也就是说,它显示“数据库连接错误”。.
我在页面中填写的字段:
数据库连接
- 主机 ----- 本地主机
- 数据库名称---- Magento(已在 phpMyadmin 中创建)
- 用户名-----root
- 密码-----空白
网络访问选项
基本 URL ------ http://127.0.0.1/magento/
管理员路径 ------ 管理员
启用图表----选中
在下一步之前跳过基本 URL 验证 -- 已选中
使用 Web 服务器 (Apache) 重写 --- 未选中
使用安全 URL (SSL) ---- 未选中
会话存储选项
11.Save Session Data In -- 文件系统
我已经在 phpMyadmin 中创建了 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'] = '';