[Solved] Database connection fails as of Jan 1.

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
drew
Forum Members
Forum Members
Posts: 72
Joined: Wed Jan 02, 2008 5:37 pm

[Solved] Database connection fails as of Jan 1.

Post by drew »

Hi and happy new year to everyone,

Was wondering if anyone has seen the following problem as of the first of the year.
Everything was working just fine when I did a backup on Dec 31.

Code: Select all

Database Connection Failed
Error: Access denied for user 'saintjo2_admin'@'localhost' (using password: YES) (1045)
Function Performed: CONNECT
Host/DB: localhost/saintjo2_cmsms
Database Type: mysql
Have been running cmsms 1.2.3 reliably at bluehost.com for about a year now. Original cmsms install ran under PHP at 5.2.5, currently running under PHP 5.2.8.

I'm suspecting a mysql upgrade at the hoster or some sort of password encryption issue. I have not changed anything at the site other than content. Restoring home dir and dbase backups did not fix it.

Thanks for all suggestions.
Last edited by drew on Sat Jan 03, 2009 12:57 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Database connection fails as of Jan 1.

Post by calguy1000 »

This isn't a problem with CMS Made Simple

Contact your host.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
drew
Forum Members
Forum Members
Posts: 72
Joined: Wed Jan 02, 2008 5:37 pm

Re: Database connection fails as of Jan 1.

Post by drew »

Thanks calguy,

I have logged a ticket with the hoster and am awaiting reply. Their chat level support couldn't resolve the issue.

-drew
drew
Forum Members
Forum Members
Posts: 72
Joined: Wed Jan 02, 2008 5:37 pm

Re: [Solved] Database connection fails as of Jan 1.

Post by drew »

On a whim, I created a new user/pwd for the dbase. After updating config.php everything is back online!

Was it a coincidence that the dbase user/pwd seemed to expire on Dec 31?

-Andrew

"coincidences happen to maximize confusion" ???
Last edited by drew on Sat Jan 03, 2009 1:05 am, edited 1 time in total.
heatherfeuer

Re: [Solved] Database connection fails as of Jan 1.

Post by heatherfeuer »

Just want to throw my 2 cents in here.  It's not January 1, but today after working perfectly for almost two years, I got the same error message.  I checked and repaired the database and confirmed that the user information was correct.  I also double checked config.php.  Nada Nothing.  Did a search on the forum and came here.

Thank you, Drew.  Your solution also worked for me.  I have absolutely NO idea what went wrong but grateful that it's now fixed.  This was my business site and I didn't need problems!

If it IS an error with mySQL or the host server, I'd sure like to know what it is.
Locked

Return to “[locked] Installation, Setup and Upgrade”