I have recently changed the SQL password for the webblog as i could no longer recall it, however I now can't remember how to update the settings for Serendipity.
Any ideas as to where the SQL password is stored?
Thanks for your help
SQL Settings
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: SQL Settings
The SQL password is stored in the file "serendipity_config_local.inc.php". It is set with restrictive permissions, so if you cannot edit it via FTP, you can execute this PHP script:
to reset permissions and edit the file.
Regards,
Garvin
Code: Select all
<?php
chmod("serendipity_config_local.inc.php", 0777);
?>
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
Thanks, worked a treat.
Incase anyone else stumbles across this thread, the code below will set the permissions back afterwards.
Incase anyone else stumbles across this thread, the code below will set the permissions back afterwards.
Code: Select all
<?php
chmod("serendipity_config_local.inc.php", 0600);
?>