reset password - where is the db?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
peterennis
Posts: 1
Joined: Thu Dec 07, 2006 10:30 pm

reset password - where is the db?

Post by peterennis »

I read all about resetting passwords but it is not much help.
Serendipity is installed on a box with XAMPP.
The login does not work.
It shows a sqlite2.1 database file with a md5 hash (the blog?)
I have root access to my box.
Where do I find the database to edit and fix the username and password?
What do I edit it with if phpMyAdmin does not find it?
Restting .htaccess did not let me in either.
Serendipity 1.2

Thanks,

Peter
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: reset password - where is the db?

Post by garvinhicking »

Hi!

If you use SQLite as a database, you will need to use a tool like SQLiteAdmin to reset your user passwords. Using an SQL managing tool like that you can browse the 'Serendipity_authors' table and there set the password to a md5 hash of a new password.

Since SQLite databases have no password for themselves, the name of the DB file is randomized so that it cannot be guessed and accessed from the outside.

You cannot use phpMyAdmin for a SQLite database, because phpMyAdmin only administrates MySQL databases.

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/
Post Reply