In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The database username and password you provided in the wp-config.php file may be incorrect.
(2015-09-18 23:01:40)
Tag: it Technical experience wordpress website
Error accessing wp-admin/install.php: database connection error. The database username and password you provided in the wp-config.php file may be incorrect
Then took a look at Baidu, all said that the database did not connect successfully.
So how to set it up? I failed to do it several times, but I finally solved it. Below, I will record the process of my successful setup, which can be used in the future and can also help you.
1. Under the wordpress root directory in htdocs (note that it is possible that this folder is either named wordpress, or it is the folder you unzipped from the compressed package downloaded on wordpress's official website, find the corresponding folder and ok whatever you want to name it.) find wp-config-sample.php to copy this file and rename it wp-config.php.
2. Open the copied wp-config.php with Notepad++ and modify it (the scarlet letter listed):
Define ('DB_NAME',' database_name_here')
Define ('DB_USER',' username_here')
Define ('DB_PASSWORD',' password_here')
-dividing line
Change database_name_here to any Mysql database name you want to name
Username_here Mysql defaults to root. If you haven't changed your user name, change it to root and ok, and fill in the corresponding user name.
Delete password_here directly and leave it blank. There is no password by default.
3. Open the phpmyadmin interface, click the database menu-New Database (enter the database name entered in step 2), select utf8_general_ci for character encoding, and create the database.
Now you can open the link experiment, the database name (set by yourself), the MySQL database user name: root, the password is empty (not filled in), and the rest can be changed without modification.
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.