Skip to main content

Database connection errors after upgrade to EasyApache 4

Comments

7 comments

  • JacobPerkins
    Good morning, That's indeed odd, what is the exact error you're getting? Is it that WordPress can't connect to the database, or that it can't load the MySQL connector?
    0
  • Bdzzld
    Okay, Hereby the exact error messages: Moodle: Error: Database connection failed. It is possible that the database is overloaded or otherwise not running properly. The site administrator should also check that the database details have been correctly specified in config.php Wordpress: Error Establishing a Database Connection. Joomla: Error displaying the error page: Application Instantiation Error: Could not connect to MySQL. Meanwhile other web sites using the MySQL server on the same server work without problems (The MySQL server is also being monitored and was not down at the time).
    0
  • cPanelMichael
    Hello, Could you open a support ticket using the link in my signature so we can take a closer look and verify what could be leading to this problem? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • Don Cranford
    Was this ever resolved? I have the same issue.
    0
  • Don Cranford
    Was this ever resolved? I have the same issue.

    For anyone that runs across this, my issue turned out to be the database passwords. Some of the sites that had been around for a while had the password encrypted in MySQL using an older format. Once I resaved the password via MySQL using the cPanel control panel, everything worked fine again.
    0
  • Bdzzld
    @Don Cranford: I can confirm your findings. Only older accounts have this problem and once the passwords were re-set via the newer version of cPanel, the problem does not reoccur (luckily). I think it's something cPanel may need to look into though, as it's pretty frustrating to see that many trouble tickets after the switch to EasyApache 4. Not to mention the amount of extra work. BTW: Is there a (manual) way to check for this (not all customers may notice it)?
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. The following MySQL document explains how you can update these passwords if necessary: MySQL :: MySQL 5.6 Reference Manual :: 6.3.8.3 Migrating Away from Pre-4.1 Password Hashing and the mysql_old_password Plugin Thank you.
    0

Please sign in to leave a comment.