Script Error - Error establishing a database connection

Discussion in 'Troubleshooting' started by mcbeck101, Sep 11, 2013.

  1. mcbeck101

    mcbeck101 New Member

    Joined:
    Apr 29, 2012
    Messages:
    6
    I upgraded MySQL on my server and I now receive the following error:

    Script Error
    Error establishing a database connection. Please contact site webmaster if this error does not disappear long time

    Indeed, it has been several hours. Can you please assist me with a solution?

    Thank you!
  2. chrome62

    chrome62 Member

    Joined:
    Apr 22, 2008
    Messages:
    89
    I have the same error, why can't these questioned be answered here?
  3. thehpmc

    thehpmc aMember Pro Customer

    Joined:
    Aug 24, 2006
    Messages:
    901
  4. mcbeck101

    mcbeck101 New Member

    Joined:
    Apr 29, 2012
    Messages:
    6
    To give some insight into how I eventually resolved this....

    I was working with my web host at the same time I was posting here, trying to coordinate everyone together. Here is a cut and paste of what my web host did to fix everything:



    Just after resolving that, I started receiving errors on a cron job that was previously set up to run every day. Here is the error I started receiving in the admin backend of aMember:

    And, here is the resolution that my web host came up with:

    After these two adjustments were made, everything was working without error.

    Hope this helps!
  5. thehpmc

    thehpmc aMember Pro Customer

    Joined:
    Aug 24, 2006
    Messages:
    901
    This would appear to confirm passwords are the problem. As I posted in another thread think it is the different way passwords are encoded (or handled) on server, PHP5.4 is not able to resolve them.
  6. thehpmc

    thehpmc aMember Pro Customer

    Joined:
    Aug 24, 2006
    Messages:
    901
    Alex if this is the solution to this problem, which sooner or later, is going to affect quite a few people can this solution be made in the form of a 'sticky'?

Share This Page