Get the App
SLTechnology News&Howtos  ›  Database  › 

About CmsEasy database configuration file modification path instructions

Shulou Source: shulou.com Published: 2022-06-01 02:50:19 10月04日 Update

Today, a customer consulted us and said that their company's website had just been migrated, but there was a problem after the migration. Please ask the Chun elder brother team to help solve it. Their company's website is developed with CmsEasy. The following records the solutions for your study and reference.

Usually when we migrate the CmsEasy template website, Chun GE technology blog reminds you to pay attention to this, the modification of the database configuration file.

The template of CmsEasy here is different from other CMS in that its database configuration file is modified in two parts.

1 、 config/config.php

'user'= >' root',// user name

'password'= >' asd123',// password

2 、 / celive/include/config.inc.php

$config ['username'] =' root'

$config ['password'] =' asd123'

Only if these two changes are correct can you use them properly, otherwise an error will be reported:

Warning: mysql_connect () [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in D:Netwebceliveincludedatabase.class.php on line 36!

This article comes from the official website of Chun Brother Technical blog, please indicate the source of the reprint, thank you!

Tags: Website data database file configuration company blog technology template right provenance team customer password method time user name part error Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn NVidia Shulou Technology MySQL macOS