Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

About CmsEasy database configuration file modification path instructions

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report