Error establishing a database connection
-
Trying to install second wordpress site on server, first one is working fine. I created a different database with a different user. I granted the rights to the user. I verified the grants to the user. The wp-config.php is exactly the same as the one from the one that is working except for user, password, and database. This is on a Windows Server 2022 Datacenter. I configured IIS for the directory the same except obviously for the bindings, and yet I still get
This either means that the username and password information in your
wp-config.php
file is incorrect or that contact with the database server atlocalhost
could not be established. This could mean your host’s database server is down.- Are you sure you have the correct username and password?
- Are you sure you have typed the correct hostname?
- Are you sure the database server is running?
The answers are Yes, Yes, and Yes, that last two are obviously correct because the other site is running perfectly. Any thoughts on what could possibly be causing this issue.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.