• kimsf

    (@kimsf)


    Right after installing this plugin WordPress would be unable to connect to the DB every few hours. I would get the message below with WP-debug and have to restart the server in order to fix it. My server has tons of free memory, 1gb php memory limit, disk space, cpu, etc… I used it with Wordfence, w3 total cache, woocommerce, and a few other plugins. These errors stopped only after I disabled the plugin. It’s now been a couple of days and no errors after the plugin disabled. None of my wp-include php files are modified either. It was a great plugin though while it worked.

    Update: I just read in the support forums that it doesn’t work with cache plugins. So I guess that if I were to disable w3 total cache it would work again. I’ll probably try disabling the “database cache” in w3 total cache and see if that works.

    Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1489
    
    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/html/wp-includes/wp-db.php on line 1515
    
    Warning: mysql_connect(): No such file or directory in /var/www/html/wp-includes/wp-db.php on line 1515
    
    Error establishing a database connection
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kimsf

    (@kimsf)

    I just read in the support forums that it doesn’t work with cache plugins. So I guess that if I were to disable w3 total cache it would work again. I’ll probably try disabling the “database cache” in w3 total cache and see if that works.

    Plugin Contributor Greg Ross

    (@gregross)

    That is more than likely the problem, we use the wp database class so these errors wouldn’t directly be caused by us.

    If it works without total cache you might want to update you review score.

    grantmahy

    (@grantmahy)

    Hey I run WP fastest Cache and analytics works a treat on my site. Perhaps it really comes down to the caching plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘May cause DB connect errors until disabled’ is closed to new replies.