well, does the database exist, the user, and is the user associated with the database?
Wrong host, maybe? Any host that doesn’t offer phpMyAdmin is not worth any money…
Thread Starter
qube
(@qube)
On the link I posted it said:
define(‘DB_HOST’, ‘mysql.mydomain.com’);
Which is what I did. I talked to gate.com and they said my database is fine. It has a server, name, username, and password.
I would like to resolve this issue with the current host I have. I know a few people who use gate with WP and their site works just fine. So I know it can be done.
Obviously you replaced mydomain.com with your REAL domain name, right? And you also clarified with your host that the DB host is correct in that way, right?
In your terms that would be the “server”.
So, which error msg are you receiving? (there are two!)
Thread Starter
qube
(@qube)
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 mysql.markmeza.com. 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.
I know you don’t want to hear this: but the message says the info you put in is not correct. It might be a typo, a missing comma, a “fancy” quote instead of straight quote, a space between the quotes and the data… anything.
Thread Starter
qube
(@qube)
Everything is spelled correctly. I have re-downloaded the zip file and replaced it, retyped the data, and still having the same problem.
I noticed that you offer a free install. Would this be a better route for me to go?
You have nothing to lose. Try them – they are all very trustworthy members of this community.
Did you find out what caused the problem? I’m having the same issue with a different hosting provider.
I am having the exact same problem posted by qube. I too use gate.com. I went through all the back checks. Has anyone come up with a solution?
Assuming you have a Linux hosting account, then please verify that information with gate.com support and make sure the database server is in fact running. Extra spaces before and after values can cause problems:
define('DB_NAME', 'johnwp') is good
define('DB_NAME', ' johnwp') is BAD
define('DB_NAME', 'johnwp ') is BAD
DB_HOST value of ‘mysql.yourdomain.com’ (where yourdomain.com was my domain) was what I used when I had an account with gate.com.