How to add a new User and log into Mantis Bug Tracker without having Email support in Local

Submitted by Rajasekhar on Sat, 11/17/2018 - 12:02

In order to set up a new account on Mantis, the new user has to click on a link received in Email to set a password and log in. If it is not allowed in your environment to send Emails from the host, where Mantis is running, the user is not able to activate its account. 

In this scenario, only admin can setup password directly in local phpmyadmin database.

 

Creating User and Password

Please follow below steps:

  1. Navigate to Manage -> Manage Users -> Create New Account.
  2. Enter details in all the fields and click on Create User. Now you have successfully created a user.
  3. Now the user will get an email to set up password and login, but as you are using Mantis in local Email support won’t work.
  4. At this point, only admin can setup password directly in a local database.
  5. Open the phpMyAdmin page, for that open browser and type localhost/phpmyadmin, hit enter. Now you can see phpMyadmin login page.
    • Login with credentials, if you are not created before, default username: ‘root’ and password: ‘YourMantisAdminPassword’

  1. Click Mantis database, then click on mantis_user_table file, as shown below.

  1. Now you can see the list of all users’ data as shown below.

  1. Click on Edit option of the new username created. For example, Jason, see above image.
  2. At password value please enter your own password and select Function as MD5, then click on Go for save changes, as shown below.

  1. Now you can log in as a new user with created credentials.