Error establishing a database connection
-
Greetings, I think I’ve setup everything correctly however, I get this messege:
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 DB_HOST. This could mean your host’s database server is down.Are you sure you have the correct username and password? YES
Are you sure that you have typed the correct hostname? YES
Are you sure that the database server is running? I THINK SOI setup the MySQL database and have all the required information. Below is my wp-config.php file:
<?php
// ** MySQL settings ** //
define(‘myblog’, ‘wordpress’); // The name of the database
define(‘myusername’, ‘username’); // Your MySQL username
define(‘mypassword’, ‘password’); // …and password
define(‘myserver’, ‘localhost’); // 99% chance you won’t need to change this value – it’s not local host and I have defined the serverAny help would be appreciated.
- The topic ‘Error establishing a database connection’ is closed to new replies.