Editing serendiptiy_authors database

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
JamesK
Posts: 3
Joined: Mon Jun 28, 2004 4:52 pm

Editing serendiptiy_authors database

Post by JamesK »

As in the previous post from khrome, I would like to change the administrator name and password after installation. I presume the db file to be edited is serendipity_authors. I really don't have any expertise with MySQL, can you provide some help or a script to make the change? I have a graphical interface phpMyAdmin 2.2.3 available to me, but I can't quite work out how to make the change using it either. Thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Editing serendiptiy_authors database

Post by garvinhicking »

Use this SQL:

UPDATE serendipity_authors SET password = MD5('YourNewPassword'), username = 'YourNewUsername' WHERE authorid = 1;

In phpMyAdmin you can first click on your database in the left screen, and then on the top right screen click on "SQL". There you can paste your code.

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/
JamesK
Posts: 3
Joined: Mon Jun 28, 2004 4:52 pm

Post by JamesK »

Garvin,

Thank you for your two responses to my posts. I have Serendipity configured exactly the way I need.

Jim
Post Reply