Title: WordPress stopped connecting
Last modified: August 20, 2016

---

# WordPress stopped connecting

 *  [willas00](https://wordpress.org/support/users/willas00/)
 * (@willas00)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/)
 * Up till this morning my wordpress blog was working fine.
 * All of a sudden it’s not failing to connect to the MySQL Database.
 * I’ve checked all the information is correct even moved the database into a new
   db name and user and it still wont connect back up.
 * WordPress can connect if there is nothing in the database but won’t connect as
   soon as the database is re-imported. I’ve not touched my wordpress site at all
   in the last 24 hours so I’m confused as to why it’s randomly stopped working.
 * any one have any ideas at all?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/wordpress-stopped-connecting/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-stopped-connecting/page/2/?output_format=md)

 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334396)
 * you need to check with host see if they problem with Mysql server as your website
   working fine and with out you making any changes is most likely you have server
   problem.
 *  Thread Starter [willas00](https://wordpress.org/support/users/willas00/)
 * (@willas00)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334400)
 * Server is working fine. No other sites are effected using MySQL under the same
   user and other users on the server.
 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334406)
 * recheck your database info in wp-config.php as that is only file that connects
   to database.
 *  Thread Starter [willas00](https://wordpress.org/support/users/willas00/)
 * (@willas00)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334407)
 * I have as stated in my first post I’ve even created new database/user and re-
   imported.
 * Setting up WP to connect to an empty DB works fine but as soon as I import my
   current database it stops connecting so it sounds to me like the MySQL file has
   an issue.
 *  [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * (@danhgilmore)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334422)
 * Do you get “Error Connecting to Database”? If so, open wp-includes/wp-db.php 
   and after the line
 * `if(!$this->dbh) {`
 * add this:
 * `echo(mysql_error());`
 * That will display your true error
 *  Thread Starter [willas00](https://wordpress.org/support/users/willas00/)
 * (@willas00)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334429)
 * I get Error establishing a database connection
 * Did what you said nothing has come up to show what’s wrong
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334437)
 * **[@danhgilmore](https://wordpress.org/support/users/danhgilmore/)**: Stop advising
   people to edit core files. You should never, **ever,** edit core files. And you
   never echo a mysql error to the screen!
 *  Thread Starter [willas00](https://wordpress.org/support/users/willas00/)
 * (@willas00)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334440)
 * [@esmi](https://wordpress.org/support/users/esmi/) removed the echo after what
   you said didnt work though.
 * I’m looking in my error logs and every time someone goes on the website it comes
   up in the error logs
 * [06-Oct-2011 19:06:10] PHP Warning: PHP Startup: Unable to load dynamic library‘/
   usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so’ – /usr/local/
   lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object
   file: No such file or directory in Unknown on line 0
 * Would that cause a problem?
 *  [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * (@danhgilmore)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334445)
 * [@esmi](https://wordpress.org/support/users/esmi/) – chill out, please.
 * [@willas00](https://wordpress.org/support/users/willas00/) – ffmpeg.so, IIRC,
   is the PHP extension for an FLV media player. That error is a PHP error, not 
   a WordPress error. If you have access to the PHP.INI file you can comment that
   out. If you don’t have access, contact your host.
 *  Thread Starter [willas00](https://wordpress.org/support/users/willas00/)
 * (@willas00)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334449)
 * Okay,
 * Nothing else in the error logs and the echo brings nothing up on the page any
   other suggestions?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334451)
 * > chill out, please
 * No – not when you are giving out bad advice to people who may not have the technical,
   or security, know-how to understand the implications.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334453)
 * > Up till this morning my wordpress blog was working fine.
   > All of a sudden it’s not failing to connect to the MySQL Database.
 * Have you asked your web host if they messed around with anything on the server?
 *  Thread Starter [willas00](https://wordpress.org/support/users/willas00/)
 * (@willas00)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334455)
 * It’s my own vps so nothing has changed. I have other wordpress sites connecting
   to database from the same cPanel account without no issues this is the only one
   thats randomly stopped.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334471)
 * You’ll have to ask your webhost. Even if they’ve done something like a routine
   update to the entire box, something could have been hosed specific to that db,
   and they have tool sot be able to go tell.
 *  Thread Starter [willas00](https://wordpress.org/support/users/willas00/)
 * (@willas00)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/#post-2334482)
 * Ok I’ve passed it onto them.
 * I know last night the server stopped responding and had to be rebooted but all
   came up fine. Then this morning Internal Server Error 500 was appearing randomly
   my host said he did an fsck and it all came up fine appart from my blog which
   is having this problem now…

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/wordpress-stopped-connecting/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-stopped-connecting/page/2/?output_format=md)

The topic ‘WordPress stopped connecting’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 16 replies
 * 5 participants
 * Last reply from: [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/wordpress-stopped-connecting/page/2/#post-2334521)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
