Using Local to Stage site; database issues
-
Hello, there!
I want to redesign and optimize my website (currently only a blog). I will be using Local since I cannot use the staging feature of Siteground due to the size of my website (15GB).
I downloaded the backup, set up a test website in Local, and replaced the wp-content folder, wp-config.php, and the sql file with the ones from my backup.
When I opened the Local site, I get a message to enter my database into.
“Welcome to WordPress. Before getting started, you will need to know the following items.
- Database name
- Database username
- Database password
- Database host
- Table prefix (if you want to run more than one WordPress in a single database)”
I used the info from my sql file, but I got the following message:
“Error establishing a database connection
This either means that the username and password information in your wp-config. php file is incorrect or that contact with the database server at localhost 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?”
How can I solve this issue? Any help would be much appreciated.
Paula
- You must be logged in to reply to this topic.