What hostname must I write in wp-config.php to connect local database MySQL?

Status
Not open for further replies.

jhncrpntr7714

New Member
Messages
5
Reaction score
0
Points
0
It about this hosting...What hostname must I write in wp-config.php to connect MySQL? I writed 'localhost'...
My password and username for database MySQL in wp-config.php is correct. But otfen my browser says:
"Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?"

What hostname must I write?
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
You've got it right. It is localhost. Therefore, it must be that the database server is having problems. I do believe that they are working on fixing it right now.
 
Status
Not open for further replies.
Top