Title: database connection problems with Gate.com
Last modified: August 18, 2016

---

# database connection problems with Gate.com

 *  [qube](https://wordpress.org/support/users/qube/)
 * (@qube)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/)
 * I’m stuck.I have done everything the installation tells me to do. All DB information
   is correct according to
    [http://wordpress.org/support/topic/99418?replies=1](http://wordpress.org/support/topic/99418?replies=1)
   still receive “Error establishing a database connection”
 * Any ideas on what I’m doing wrong?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [nhassan](https://wordpress.org/support/users/nhassan/)
 * (@nhassan)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596150)
 * well, does the database exist, the user, and is the user associated with the 
   database?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596152)
 * Wrong host, maybe? Any host that doesn’t offer phpMyAdmin is not worth any money…
 *  Thread Starter [qube](https://wordpress.org/support/users/qube/)
 * (@qube)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596183)
 * 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.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596186)
 * 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”.
 *  Thread Starter [qube](https://wordpress.org/support/users/qube/)
 * (@qube)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596187)
 * correct
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596188)
 * So, which error msg are you receiving? (there are two!)
 *  Thread Starter [qube](https://wordpress.org/support/users/qube/)
 * (@qube)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596190)
 * 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.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596194)
 * 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](https://wordpress.org/support/users/qube/)
 * (@qube)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596220)
 * 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?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596232)
 * You have nothing to lose. Try them – they are all very trustworthy members of
   this community.
 *  Thread Starter [qube](https://wordpress.org/support/users/qube/)
 * (@qube)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596241)
 * Thanks for the help!
 *  [kethridge](https://wordpress.org/support/users/kethridge/)
 * (@kethridge)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596356)
 * Did you find out what caused the problem? I’m having the same issue with a different
   hosting provider.
 *  [fosgoo](https://wordpress.org/support/users/fosgoo/)
 * (@fosgoo)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596569)
 * 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?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596570)
 * 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.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘database connection problems with Gate.com’ is closed to new replies.

## Tags

 * [database connection](https://wordpress.org/support/topic-tag/database-connection/)
 * [gate.com](https://wordpress.org/support/topic-tag/gate-com/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 14 replies
 * 6 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/database-connection-problems-with-gatecom/#post-596570)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
