Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Getting the following error – Error establishing a database connection

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Getting the following error – Error establishing a database connection

Tagged: database error, wordpress, WP eStore

  • This topic has 4 replies, 4 voices, and was last updated 12 years, 11 months ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 13, 2011 at 1:51 pm #2707
    Crow8ster
    Member

    I have been having problems whenever I add two products or a category to any page. The entire site shuts down and I cannot edit in wordpress or view my store online. I have installed three different wordpress blogs and tried the same steps and I am seeing the same results. It tells me – “Error establishing a database connection” when I go to the store.

    About the store –

    I have uploaded 240 products by bulk and have 20 categories.

    I am running WP 3.0.5

    Any ideas?

    February 14, 2011 at 4:02 am #29003
    amin007
    Participant

    This problem is related to your hosting (server). There are some good videos here that might give you clues:

    http://educhalk.org/blog/2009/03/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/

    February 18, 2011 at 3:57 am #29004
    Crow8ster
    Member

    Thanks! I got it fixed by upgrading php to above 5.0. It all works like a charm now!

    June 22, 2012 at 7:08 pm #29005
    rampant
    Member

    I am getting this same issue “Error establishing a database connection” with the estore plugin. This is actually the 4th time this has happened. I have spent many hours with hostgator trying to resolve the issue. We were able to restore our website each time but when I continue to add products, the site goes down again.

    I am hoping there is a solution to this problem rather than always opening up my cpanel and fixing the wp-config file. Every time I add a product, it is adding a new username and password. I have also gone through the video you posted above and we are able to fix the wp-config file every time but I would like to know if there is a way to stop this from happening?

    Thanks.

    June 22, 2012 at 11:58 pm #29006
    admin
    Keymaster

    That is just wrong. You should never have to do that. I have a feeling that this has something to do with your server’s mod rewrite rule being messed up a little. It is also possible that there is rogue script somewhere causing trouble. You downloaded eStore from our server from day 1 right? The following post will explain why I am asking this question:

    http://www.tipsandtricks-hq.com/free-premium-plugin-and-theme-downloaders-beware-3035

    Lets try the following:

    1) Deactivate and delete the currently installed eStore plugin from your site.

    2) Then load a fresh build of the plugin:

    https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins

    3) Now, add a product and checkout if the same behavior is still there.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ