Skip to content
English
  • There are no suggestions because the search field is empty.

How do I reset my admin account password?

If you find yourself locked out of your SimpleRisk instance, don’t worry. This guide walks you through accessing the MySQL console and manually resetting the admin password so you can regain access.

1. First, identify the database connection details used by SimpleRisk. /var/www/simplerisk/includes/config.php

In this file, locate the following values:

  • Database hostname

  • Database username

  • Database password

These credentials are required to access the SimpleRisk MySQL database.

2. Using the credentials obtained in Step 1, connect to MySQL.

mysql -u <username> -p<password>

3. Once inside the MySQL console, select the SimpleRisk database: use simplerisk; 

4. To confirm that the admin user is still present, run: select value, username from user;

5. Run the following command to reset the admin password back to the default admin value: 

update user 
set salt='sAbwTbIFywWKcheyQw9a', 
    password='$2a$15$7b2601b4979b1ad031b2fuqf1XkeSa4iNxsHK27tq5Va2jLhzkShW' 
where value=1;

6. You should now be able to log in to SimpleRisk using:

  • Username: admin

  • Password: admin