Hi! I have a Database Connection Issue
-
Hi there and thanks for reading my post!
I have recently moved a website from one domain name and webhosting company to a different domain name with a different webhosting company.
How I have gone about this is as follows:
1) Logged in to the site I want to move and go to Settings > General, then change the URLs. (ie from https://example.com/ to https://example.net )
2) Download my existing site files.
3) Export the database.
4) Edit wp-config.php with the new server’s mySQL database name, user and password.
5) Upload the files to the new webhosting company via FTP.
6) Import the database on the new server.This is following the instructions here (https://codex.www.ads-software.com/Moving_WordPress#Moving_WordPress_to_a_New_Server) however now when I click on the new domain it is showing Error Establishing a Database Connection.
I have thoroughly checked the DB Name, User, PW and host and they are all correct so I am not sure what to try next.Any help will be greatly appreciated!
Thanks.
- The topic ‘Hi! I have a Database Connection Issue’ is closed to new replies.