How to Reset Password in Redmine

1. Login MySQL and find the user id

1
2
3
4
mysql -u root -p             # login MySQL

mysql> use redmine; # choose redmine database
mysql> select * from users; # show all users' information

2. Go to the redmine folder and change the password

1
2
3
4
5
6
7
8
9
10
11
12
# start console
RAILS_ENV=production bundle exec rails c

# find your user
user = User.where(id: 1).first

# set new password
user.password = 'password'
user.password_confirmation = 'password'

# save changes
user.save!

3. Login redmine and change the password

Now, you can login your account with password password, and then you can change your password in My Account page.

Reference

Share Comments