Another Connection Failed error

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
mgideon
New Member
New Member
Posts: 2
Joined: Tue Apr 16, 2013 3:30 am

Another Connection Failed error

Post by mgideon »

I changed my mysql password and now my CMS made simple site isn't working.

Database Connection Failed
Error: Access denied for user 'root'@'localhost' (using password: YES) (1045)
Function Performed: CONNECT

I made sure the config.php has the same password as mysql root and cms_user. Isn't it dangerous having the config.php file in the cms directory that resides in the www directory? If someone sets list directory - they can read that file and get the password. My permission on that file are 644.

I searched for my error and found others ask the same question but there all ended up saying, it is working now.

This is CMS 1.11.4

Thanks,
Mike
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Another Connection Failed error

Post by staartmees »

someone just can't set list directory, unless they have access by FTP.

Did you change the password in the admin panel of your hosting and in your config.php? Are both passwords the same?
mgideon
New Member
New Member
Posts: 2
Joined: Tue Apr 16, 2013 3:30 am

Re: Another Connection Failed error

Post by mgideon »

I found the problem. It was user error. I originally built my site in a sub directory. I was changing the password of that config file - not the one in my doc root.

Thanks,
Mike

Oh, and I did have Indexes on. I just disabled directory listing.
Locked

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