Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When request new password from MediaWiki but fail to enter correct password, the account will get locked for a day to request new password again. During this period, even administration account can't do anything to unlock the account. Is there any way to unlock the account right away? Thanks.

share|improve this question
I don't think this is on-topic, as it's about an installable script. – Gelatin Sep 14 '10 at 19:06
up vote 1 down vote accepted

You can run a maintenance script:

php changePassword.php --user="username" --password="password"

More Info about running maintenance scripts

Or modify the database:

UPDATE user SET user_password = CONCAT(':B:somesalt:', MD5(CONCAT('somesalt-', MD5('somepass')))) WHERE user_name = 'someuser';

Alternatively you you can install an extension which allows other administrators to reset your password.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.