Page 1 of 1

Need Help - Changed database password

Posted: Thu Oct 06, 2011 10:34 pm
by JimZehn
Can someone help me.
I changed the password to the mysql database on my site because it was hacked. Now, Serendipity does not work as it has the wrong password in the: serendipity_config_local.inc.php file.

I have tried to download the file to my computer to change the password, but my ftp will not permit me to do so. I have tried to change the file permissions to 777, but they do not last.

Can anyone tell me how to download this file?

Thanks in advance.

Re: Need Help - Changed database password

Posted: Fri Oct 07, 2011 2:36 am
by Don Chambers
You are working with the correct file - serendipity_config_local.inc.php.... sounds like you might have a permissions problem between your ftp client, and your hosting provider. I'm guessing you have a hosting provider (which might be a bad assumption). Does your provider have a web based file manager you can use instead of FTP? Have you tried contacting your provider and explaining the permissions issue to them?

I have had success renaming serendipity_config_local.inc.php... doing so will force s9y into a new installation mode.. if you already have all the information, such as database name, user, password, etc... you might be able to successfully "reinstall" serendipity as php will be writing the new config file, not ftp. Worth a shot IF your permissions will allow you to delete or rename, if not, you really need to get that resolved first.

Re: Need Help - Changed database password

Posted: Fri Oct 07, 2011 10:13 pm
by JimZehn
Thanks for the help. Renaming the file did the trick.