In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "how to modify wp-config.php". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
The way to modify wp-config.php: 1, open wp-config-sample.php;2 in a text editor, fill in the relevant information and save it as wp-config.php;3, change the database name, user name and password.
This article operating environment: Windows7 system, WordPress5.4.2 version, Dell G3 computer.
How to modify wp-config.php?
WordPress manually configure the wp-config.php file
Not long ago in the WordPress technology group, we saw a problem that the system could not configure wp-config.php files automatically when installing the website program, so we need to configure it manually at this time.
Problem description:
If the automatic creation fails, don't worry, all you have to do is fill in the database information into the configuration file, or you can open wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php.
Solution:
Find the wp-config.php file in the root directory of the server website, and if you don't have one, create one. The following is the wp-config.php configuration database file format:
/ * * name of WordPress database * / define ('DB_NAME',' admin'); / * * MySQL database user name * / define ('DB_USER',' admin'); / * * MySQL database password * / define ('DB_PASSWORD',' admin'); / * * MySQL host * / define ('DB_HOST',' localhost') / * * default text encoding when creating a data table * / define ('DB_CHARSET',' utf8'); / * * database collation type. Do not change * / define ('DB_COLLATE','') if you are not sure
Normally we just need to change the database name, user name and password, and then save it.
This is the end of "how to modify wp-config.php". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.