OsTicket: Reset User Password via SQL: Difference between revisions
From wiki.jacobjohns.com
jwiki>jjohns Formatting |
m 5 revisions imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:osTicket: Reset User Password via SQL}} | {{DISPLAYTITLE:osTicket: Reset User Password via SQL}} | ||
[[File:OsTicket Logo.png|center|frameless]] | [[File:OsTicket Logo.png|center|frameless]] | ||
<hr /><br /> | |||
# Connect to the osTicket database on the osTicket host. | # Connect to the osTicket database on the osTicket host. | ||
#* <code>sudo mysql</code> | #* <code>sudo mysql</code> | ||
Latest revision as of 16:06, 27 July 2024

- Connect to the osTicket database on the osTicket host.
sudo mysql
- Show databases.
SHOW databases;
- Use the osTicket database.
USE osticket_database;
- Show tables and look for _staff.
SHOW tables;
- Change the password for the desired user.
update _staff set passwd=MD5('NEW_PASSWORD') Where username='USERNAME';
- Test the logon at the user interface.
