[Mediawiki-l] How to reset Wiki Admin's user name and password (from server command line)?

Jan-Paul Köster Jan-Paul at jpkoester.de
Wed May 24 19:58:08 UTC 2006


Hi Ken,

this might be old info, but about 6 months ago this worked for me:

update user set 
user_password=md5(concat(user_id,'-',md5('newpassword'))) where 
user_name='wikiadmin';

After that you should be able to log in with the wikiadmin account and 
the new password.

Cheers,
JP

Ken McDonald wrote:
> Due no doubt to a mistake on my part, I know find that the user name and 
> p/w I thought I'd specified for the wiki admin during setup weren't 
> actually what went through. There is an account called "wikiadmin", so 
> perhaps I somehow submitted the defaults.
>
> In any case, could someone please explain, or direct me to instructions, 
> to change the wiki admin account name and password? I have full access 
> to both the server and the wiki DB. Surely someone has lost or forgotten 
> their password before :-)
>
> Let's hope this is the last installation goof on my part,
> Ken
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>   




More information about the MediaWiki-l mailing list