In the process of using bugfree, some students because of carelessness, forget the system administrator password, resulting in the inability to log in to the backend management system. There are two ways to help you solve this problem in the afternoon.
Method One: Take advantage of phpmyadmin background changes
1, login phpMyAdmin, this machine site is: http://localhost/phpmyadmin/;
2, enter the database (for example, my bugfree), find the table "Bf_test_user" and enter;
3, find the account "username" for the "admin" items, directly select Edit editing, modify the password as "e10adc3949ba59abbe56e057f20f883e" (this is the value of 123456 MD5 encryption);
4, click the following go run, then prompt success, re-login bugfree can be 123456 login.
Note: In method one can also use SQL statements to update the admin password, after selecting the data bugfree, select SQL navigation, input command update bf_test_user SET password = MD5 (' 123456 ') WHERE username = ' admin '; then click on the bottom of go to run it, the effect is the same as above.
Method Two: The reason SQL statement, directly in the command line operation.
1, if it is built in the XAMPP environment Bugfree, enter the/opt/lampp/bin directory, and then enter in the command line./mysql-uroot-p, and then prompt for the password, enter the correct password, enter can;
2, enter the first to see what the database has, you can enter the command: show databases;
3. Then select the target database bugfree, the command is: use Bugfree
4. Enter the updated command: Update bf_test_user Set password = MD5 (' 123456 ') where username = ' admin '; (click the Enter key to run)
5, after the prompt success, use admin/123456 to visit the Bugfree website.
Bugfree software testing tools for Linux practical courses
Http://edu.51cto.com/course/course_id-4855.html
This article from "Hao Yang _ Habitat" blog, please be sure to keep this source http://zdytesting.blog.51cto.com/5811414/1825377
Bugfree The system administrator password forgot what to do?