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.
Need Help - Changed database password
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Need Help - Changed database password
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.
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.
=Don=
Re: Need Help - Changed database password
Thanks for the help. Renaming the file did the trick.