Fullscreen
[Show/Hide Right Column]

How to reset your admin password

lost admin password


If you can login with a user in Admins group (with permission tiki_p_admin), you can go to
tiki-admin.php?page=general and look for "Admin password" section.

If you can't login, Starting in version 3.0, you can set the admin password in the installer (tiki-install.php), so the procedure below will no longer be necessary.


If you using an older version, please see below.



If you have lost the admin password for your site you will need access to the tiki database to change the password manually.

Assuming you are not using external user authentication - the password you lost is lodged firmly in your database.

1. Access your web hosting control panel (usually CPanel). If you can't find or login to Cpanel, contact your ISP.

2. Once logged into Cpanel, goto MySQL Databases, then (scroll way down!) open the PHPMyAdmin panel.

3. Select your database (usually something_tiki) from the drop-down list of databases on the left.

4. Scroll down the list of tables (way down) and select (browse) the users_users table. The password will be in there.

NOTE:If the "password" field is blank - your passwords are encrypted (which is the default and recommended setting). Typing in a password will not work. See (if you could) Admin>Login>Store plaintext passwords for this setting. Goto Step 5

Image
and then
Image

5. In case your tiki encrypts password (which is recommended) you can use the following SQL command
  • click on the SQL tab.
  • cut and paste the following exactly into the SQL window in PHPMyAdmin.

UPDATE `users_users` SET `password`='admin', `hash`= md5('adminadmin') WHERE `login`='admin';


this will set the password to "admin" again. You are saved.

6. Login with
username: admin
pasword: admin

7. Proceed to the "Change admin password" section of tiki-admin.php?page=general
Change to safe password.




Alias


Contributors to this page: Marc Laporte9138 points  and mlpvolt4388 очков  .
Page last modified on Tuesday 08 September, 2009 18:00:32 UTC by Marc Laporte9138 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki