簡體   English   中英

PHP joomla遷移

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM