Naresh
Naresh

Reputation: 815

Update Mediawiki user password using database

How to modify MediaWiki(v 1.15) user password without using the maintenance script, direct to database.

Upvotes: 1

Views: 351

Answers (2)

Naresh
Naresh

Reputation: 815

I did it... manually inserting in database

"UPDATE wikiuser SET user_password=md5(CONCAT('67','-',MD5('pass'))) WHERE user_id = 15"

Upvotes: 3

Joshua C. Lerner
Joshua C. Lerner

Reputation: 1938

There's a maintenance script to do that:

php maintenance/changePassword.php --user=USER --password=PASSWORD

Upvotes: 3

Related Questions