Sudden failure to connect

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Sudden failure to connect

Post by burlington »

I installed the version of CMSMS 1.9.4.2 yesterday. This went fine and I have been working on the new website today. No problems.

This evening I can't get access at all either to the site itself or to Admin. Instead I get the following message:

<quote>
Database Connection Failed
Error: Access denied for user '****_admin'@'localhost' (using password: YES) (1045)
Function Performed: CONNECT
Host/DB: localhost/****_cmsms
Database Type: mysql

Fatal error: Attempt to connect to database ****_cmsms on ****_admin@localhost failed in /home/****/public_html/lib/adodb.functions.php on line 85
</quote>

The only thing that has changed on the server since my last visit to the CMSMS site was that I installed Coppermine BUT this was into a separate folder AND using another database.

Any ideas please?

Thanks

Martin
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Sudden failure to connect

Post by Jos »

Set a completely new password in your mySQL database, and set it also in the config.php
Then your site should be running again

If then Coppermine is failing, you know what caused it :D
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Re: Sudden failure to connect

Post by burlington »

Thanks for your advice Jos

I tried a password but still cannot connect.

I cannot see how Coppermine could have affected CMSMS. It is in it's own discrete folder on the server and has it's own database with no connection to the CMSMS one.

I have asked the website host if they can see any reason for non-connection.

In the meantime I have backed up the whole of CMSMS and if there is no solution then I will just have re-install over the existing, with a new database, and a MySQL import from the backup. I hope it does not come to that though.

Martin
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Sudden failure to connect

Post by Wishbone »

Before doing that, you might want to create a PHP script to connect to the database, so that you can see if it's a database issue or a CMS issue.
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

[SOLVED} Re: Sudden failure to connect

Post by burlington »

It looks as though it was a DB issue with the server. The website host has 'fixed the problem' and the URL works fine now.

Thanks for your help.
Locked

Return to “CMSMS Core”