Error establishing a database connection
-
<<<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?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.>>>
—————————————————————————After about 3 days of trying and many efforts for up to host <<110mb.com>> but I still cannot get the wp-config.php file to open my database. I’ve change username and password and e-mail but I still cannot. tech support and they keep giving me suggestions and I keep doing them. However, still,
when I run my wp-config.php I get:
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 z-1234.zipa.com. This could mean your host’s database server is down.I edit wp-config.php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘shihtzu’); // The name of the database
define(‘DB_USER’, ‘shihtzu’); // Your MySQL username
define(‘DB_PASSWORD’, ‘my password’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);I am trying to set up a mysql database for wp, but from the information I have read “localhost” will not work as the host name on a 110mb account. I’m using the Plesk control panel and it does not tell me the name of the host. Any Suggestions?
-
From the above, you are self-hosted using the software downloaded from wordpress.org. The software used here at wordpress.com is different and you need to inquire over at http://wordpress.org/support/ .
Here is the difference between wordpress.com and wordpress.org: https://en.forums.wordpress.com/topic.php?id=3700&page&replies=1
-
I am a beginnner beginner to WP, just downloaded the zip file and opened up the wp-config-sample.php file. I am confused by what “database” means – would this be my domain name? I feel like I am missing a step.
-
What you are missing is that this is the wrong forum. We cannot help you here as we run on different software from the software you downloaded. The forum for self-hosting bloggers is here http://wordpress.org/support
- The topic ‘Error establishing a database connection’ is closed to new replies.