How to reset my MediaWiki admin password?

In order to reset the password for MediaWiki's admin, there are a couple of options: 1. The first and easiest one is to use the option 'E-mail new password' next to MediaWiki's login. In this case the password will be sent to the email address assigned to the administrative user for the MediaWiki installation; If this does not work for you, there is a another way to reset MediaWiki's admin password. 2. Go to your cPanel > phpMyAdmin and select the MediaWiki database from the menu on the left. The page will refresh and the database tables will be displayed on it. Open the SQL tab (located at the top navigation bar). In the text field write the following SQL query: UPDATE user SET user_password = MD5( CONCAT( user_id, '-', MD5( 'NEWPASS' ) ) ) WHERE user_id =1 Then click on the GO button to submit the query. If everything goes fine without errors, you should be able to login to MediaWiki with the new password. If you have problems with the above, try contacting your web host for assistance. You can always count on Siteground's Support for similar problems. You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to assign users to groups in MediaWiki?

If you want to grant extra permissions to some of your registered users in MediaWiki, you have to...

How to get complex math formulas working in MediaWiki

This article explains how to overcome issues with Math formulas not properly displaying in...

How to convert your MediaWiki database to SQLite?

Sometimes, when you have a very popular MediaWiki web site with a lot of articles, the database...

I am getting ‘libgomp: Thread creation failed: Cannot allocate memory’ when uploading images to MediaWiki.

This error message appears when you try to upload an image with large dimensions to a MediaWiki...

How to run the MediaWiki update script through a browser?

By default, when upgrading MediaWiki, you have to run the update.php file from a command prompt....