關于數(shù)據(jù)庫無法連接的,大致總結了一下常見程序的數(shù)據(jù)庫鏈接文件到底是哪一個:
1. 帝國系統(tǒng)網(wǎng)站數(shù)據(jù)庫配置文件路徑:web/e/class/config.php
2. shopex系統(tǒng)網(wǎng)站數(shù)據(jù)庫配置文件路徑:web/config/config.php
3. DEDECMS(織夢)系統(tǒng)網(wǎng)站數(shù)據(jù)庫配置文件路徑:web/data/ common.inc.php
4. php168系統(tǒng)網(wǎng)站的數(shù)據(jù)庫配置文件路徑:web/php168/mysql_config.php
5. 其他.net的網(wǎng)站一般web/web.config文件是數(shù)據(jù)庫配置文件
6.phpcms系統(tǒng)的數(shù)據(jù)庫配置文件路徑:web/include/config.inc.php
7.discuz論壇系統(tǒng)的網(wǎng)站的數(shù)據(jù)庫配置文件一般3個,分別為:
web/uc_server/data/config.inc.php
web/config/config_global.php
web/config/config_ucenter.php
可以根據(jù)您具體的數(shù)據(jù)庫信息修改一下數(shù)據(jù)庫鏈接文件,當您數(shù)據(jù)庫無法連接上的時候,(前提是先確定好我們數(shù)據(jù)庫是正常的,也就是登陸您數(shù)據(jù)庫高級管理看可以不可以進去,如果可以一般是數(shù)據(jù)庫就沒什么問題的了)。