[英]PHP joomla Migration
使用JUpgrade迁移joomla 1.5到1.7后出现错误:数据库错误:无法连接到数据库:无法连接到MySQL.Any Idea
您应该查看与数据库相关的配置文件,它可能已被重置。
配置文件名为configuration.php,应位于public_html目录中:类似于以下代码:
var $host = 'localhost'; // Leave it to localhost if you are unsure
var $user = 'your-database-user'; // This should be changed to yours
var $password = 'yourpass'; // Change it to the password for the database user
var $db = 'your-database-name'; // Change it to the name of your database
请编辑这4个条目。
在项目文件夹中将有一个名为configuration.php
的文件。
在该文件中查找变量$host
, $user
, $db
和其他相关变量。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.