Forums | Mahara Community
18 February 2009, 2:12 PM
I forgot the admin password for my mahara installation. Is there a way I can reset / recover it ?
18 February 2009, 9:40 PM
Hi - the "forgot password" feature should work equally well for admins as for any other user. You can access it through a link in the login box.
Alternatively, you can set the password in the database like so:
UPDATE usr SET password = 'changeme123', salt = NULL WHERE username = 'admin';
13 September 2011, 4:08 PM
I didn't forget the admin password but it just stopped working. Resetting it with the SQL command didn't help. Now my only admin account is unusable. Any ideas about what I should do? What's the SQL required to create a new admin account?
13 September 2011, 6:08 PM
Alistair, if you have version 1.4, it didn't work because we removed plaintext passwords from the db. To reset it in SQL you'd have to hash the password.
The easiest way, as you suggest, is to turn another account into an admin account:
UPDATE usr SET admin = 1 WHERE username = 'alistair';
13 September 2011, 10:41 PM
Thanks Richard. Problem solved!
20 June 2012, 7:01 AM
i have forget my admin password, how can i reset or set a new via mySQL database?
(there is no other user in system just me with the username admin)
(using Mahara 1.5)
20 June 2012, 5:47 PM
You can use the "Lost username/password" link to reset your password. If you can't do that for some reason (email isn't set up, or your admin has an invalid address), have a look at this thread:
15 September 2014, 10:54 PM
I have finally managed to get into Mahara using the default Admin password, at which point I am prompted to enter a new password. I have done this, but Mahara is ignoring my new password and continues to use the default "mahara" one. This then just takes me back into the enter new password loop?
Can anyone help?
Getting frustrated now with Mahara. 6 hours and I can not even log in successfully.