Error establishing a database connection
-
I have installed the wordpress to my root directory.
However the config file is not created and very time i try to create the config file i get the error :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?I have already checked if the database are not working using the cpanel.
http://gargs.co.in/wp-admin/setup-config.php?step=2
MY CONFIG FILE UPLOADED TO THE ROOT FOLDER – PUBLIC_HTML// ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', 'gargs7ic_wpuser'); /** MySQL database username */ define('DB_USER', <em>[redacted]</em>); /** MySQL database password */ define('DB_PASSWORD', <em>[redacted]</em>); /** MySQL hostname */ define('DB_HOST', 'localhost'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8');I am stumped at this for quite a lot of time now. Please help
The topic ‘Error establishing a database connection’ is closed to new replies.