SQL Settings

Having trouble installing serendipity?
Post Reply
Leth

SQL Settings

Post by Leth »

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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: SQL Settings

Post by garvinhicking »

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:

Code: Select all

<?php
chmod("serendipity_config_local.inc.php", 0777);
?>
to reset permissions and edit the file.

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/
Guest

Post by Guest »

Thanks, worked a treat.

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);
?> 
Post Reply