无忧主机(www.51php.com)在日常维护中,经常碰到由于网站迁移更换mysql数据库的情况,为了方便用户准确修改,我特意将mysql数据库配置文件全部整理出来,下列整理出来的目录,是按照无忧主机的网站路径整理的,如果你是使用我们的主机,请按照下列方式可以直接找到。下列信息如有不准确的地方,请用户来信(340555017@qq.com)指导。

说明: /  是指您的php空间的根目录(public_html)

开源系统                   据库配置文件名                       文件名所在的目录

Discuz!                       config.inc.php                              ./ config.inc.php

Phpcms                    config.inc.php                               ./include/config.inc.php

Wodpress                    wp-config.php                             ./ wp-config.php      

Phpwind                     sqlconfig.php                               ./data/sqlconfig.php

Php168v6                   mysql_config.php                       ./php168/ mysql_config.php

Shopex                        config.php                                    ./config/config.php

Ecshop                        config.php                                    ./data/config.php

Joomla                        configuration.php                       ./ configuration.php

UCenter                     config.inc.php                            ./data/config.inc.php                                          

EmpireCMS               config.php                                    ./e/class/config.php

Dedecms                    common.inc.php                         ./ common.inc.php

Zen Cart                     configure.php                              ./includes/configure.php

Mediawiki                  localsettints.php                        ./config/localsettints.php

Ecshop                        config.php                                    ./data/config.php

osCommerce            configure.php                              ./includes/configure.php

如果你的网站发生如下情况,请检查改你数据库配置文件来排出故障:

1、  数据库无法连接

2、  网站迁移

3、  无法打开网站,但php虚拟主机服务器运行正常无任何故障

广而告之:无忧美国2G php空间,仅售299元

本文地址:http://www.51php.com/mysql/464.html

喜欢本文或觉得本文对您有帮助,请分享给您的朋友 ^_^

阅读本文的人还阅读: