Title: Database problem
Last modified: August 20, 2016

---

# Database problem

 *  [eaalb](https://wordpress.org/support/users/eaalb/)
 * (@eaalb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/)
 * Hello, I’m editor of [http://www.liban4sports.com](http://www.liban4sports.com)
   
   We were working on the website and publishing news, and suddenly it stopped and
   put this phrase: Error establishing a database connection
 * As well, while opening my wp-admin, I get:
 * 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 lib1236103352767.
   db.10222692.hostedresource.com. This could mean your host’s database server is
   down.
 * What should we do? our site is well-known in Lebanon, and it publishes sports
   news, and it’s been 3 hours it’s down. How can we fix it please?

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

 *  [Greg](https://wordpress.org/support/users/jgs/)
 * (@jgs)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588192)
 * Is the server name correct in your wp-config.php file? I can’t resolve lib1236103352767.
   db.10222692.hostedresource.com to an IP address, if it’s dropped from DNS for
   some reason that might explain it.
 * Can you check with GoDaddy to see if they are having problems with your hosted
   MySql server?
 *  Thread Starter [eaalb](https://wordpress.org/support/users/eaalb/)
 * (@eaalb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588200)
 * I had 2 databases before, one of them was damaged, deleted then couldn’t be restored.
   I want to have one database containing the same plugins and themes, although 
   they are still found on the remaining database
 *  [BestAdsenseAlternatives](https://wordpress.org/support/users/bestadsensealternatives/)
 * (@bestadsensealternatives)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588208)
 * i thinks your hosting is not good ….
 * contact your Hosting
 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588214)
 * Check your wp-config.php file if you have the correct database name, username,
   password and MySQL hostname.
 *  Thread Starter [eaalb](https://wordpress.org/support/users/eaalb/)
 * (@eaalb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588228)
 * still nothing.. nothing changed..
 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588233)
 * What do you have for hostname in your wp-config.php?
 *  Thread Starter [eaalb](https://wordpress.org/support/users/eaalb/)
 * (@eaalb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588248)
 * sg2nlhg268c1268.shr.prod.sin2.secureserver.net
 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588275)
 * I am still getting ‘error establishing database connection’ that is usually associated
   with incorrect database name, username, password and MySQL hostname. So, please
   check again.
 *  Thread Starter [eaalb](https://wordpress.org/support/users/eaalb/)
 * (@eaalb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588279)
 * I will see, we are trying our best to resolve it :/
 *  [Greg](https://wordpress.org/support/users/jgs/)
 * (@jgs)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588340)
 * Still sounds like an issue with the DB server to me.
 * sg2nlhg268c1268.shr.prod.sin2.secureserver.net is what your hostname (www.liban4sports.
   com) resolves to in DNS.
 * lib1236103352767.db.10222692.hostedresource.com does not resolve in DNS, according
   to the /wp-admin/ page, that’s where the database lives.
 * Do you know the IP address of the DB server? You could try using that instead
   of the gnarly hostname you’re using. If it’s a temporary DNS issue it may resolve
   the problem.
 * Aside from that, I would really recommend contacting your hosting provider and
   have them check to see if the referenced database server is up, and in DNS.
 *  Thread Starter [eaalb](https://wordpress.org/support/users/eaalb/)
 * (@eaalb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588343)
 * okay ty v.much I’ll see with the hosting provider and check what kind of solutions
   we can get.. Thank you again
 *  Thread Starter [eaalb](https://wordpress.org/support/users/eaalb/)
 * (@eaalb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588388)
 * guys, I have seen the database on our hosting. It’s different from the one WordPress
   wants me to deal with, so I entered a new database:
    lib1236103352767
 * But I hve the same problem.. what should i do?
 *  [bottleneck](https://wordpress.org/support/users/bottleneck/)
 * (@bottleneck)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588394)
 * Hey,
 * DNS lookup utility reads:
 *     ```
       host lib1236103352767.db.10222692.hostedresource.com
       lib1236103352767.db.10222692.hostedresource.com is an alias for lib1236103352767.db.10222692.043.hostedresource.net.
       lib1236103352767.db.10222692.043.hostedresource.net has address 203.124.112.38
       ```
   
 * That IP 203.124.112.38 belongs to GoDaddy.
 * In other words, try to put the database server as
 * lib1236103352767.db.10222692.043.hostedresource.net
 *  [bottleneck](https://wordpress.org/support/users/bottleneck/)
 * (@bottleneck)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588404)
 * I just noticed it changed (just like it was yesterday when [@jgs](https://wordpress.org/support/users/jgs/)
   was saying):
 * > does not resolve in DNS,
 *     ```
       host lib1236103165925.db.10222692.hostedresource.com
       lib1236103165925.db.10222692.hostedresource.com has address 199.101.28.20
       Host lib1236103165925.db.10222692.hostedresource.com not found: 3(NXDOMAIN)
       ```
   
 * You definitely need to call GoDaddy Customer Support and beat them up until they
   solve it.

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

The topic ‘Database problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 5 participants
 * Last reply from: [bottleneck](https://wordpress.org/support/users/bottleneck/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/database-problem-31/#post-3588404)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
