Preloader
Access Recovery

Tutorial: How to Reset XtreamUI Admin Password

Locked out? Here is the definitive guide to restoring access to your panel via MySQL.


The Xtream UI Legacy

Xtream UI, born from the ashes of the original Xtream Codes v2, became the standard for IPTV management. However, unlike modern panels with "Forgot Password" email links, regaining access to an Xtream UI panel usually requires direct database intervention. This guide assumes you have root access to your server's terminal (SSH).

1Step 1: Access the Database

To reset the password, we need to modify the reg_users table directly. First, log in to your server via SSH.

Once inside, connect to the MySQL server using the root user:

sudo mysql -u root

If your MySQL installation requires a password and you are not using sudo, you may need to use mysql -u root -p and enter your root password.

2Step 2: Execute Reset Commands

We will now run SQL commands to reset the credentials for the main administrator account (typically ID 1). We will set the username to admin and the password to admin.

Copy and paste the following block into your terminal:

UPDATE xtream_iptvpro.reg_users SET password='$6$rounds=20000$xtreamcodes$XThC5OwfuS0YwS4ahiifzF14vkGbGsFF1w7ETL4sRRC5sOrAWCjWvQJDromZUQoQuwbAXAFdX3h3Cp3vqulpS0' WHERE id='1'; UPDATE xtream_iptvpro.reg_users SET username = 'admin' WHERE id = '1'; UPDATE xtream_iptvpro.reg_users SET member_group_id = '1' WHERE id = '1';

What did we just do?

  • Line 1: Updates the password hash to a pre-calculated hash for the word "admin".
  • Line 2: Resets the username to "admin" (in case you forgot it or it was changed).
  • Line 3: Ensures the user has Administrator privileges (Group ID 1).

3Step 3: Exit and Verify

Once the queries have run successfully (you should see "Query OK"), exit the MySQL console:

exit

Now, open your web browser and navigate to your Xtream UI panel login page. Try logging in with:

  • User: admin
  • Pass: admin

Security Warning

Do not leave your credentials as admin/admin!

As soon as you log in, go to Manage Profile or Administrators settings and change your password to something strong and unique. Leaving default credentials active is the #1 reason for hacked panels.

Important Legal Notice
Xtream-Masters is a software development company. We build and license professional software. We don't host, store, stream, index, or distribute any audio, video, playlists, channels, or DRM-protected content of any kind. What we sell is an empty technical platform; whatever content runs through it is added, configured, and controlled entirely by the end user, who is responsible for holding the proper rights and following the law in their region. Any copyright or DMCA complaints should go to whoever is operating the stream or hosting the URL in question — not to us. For the full picture, have a look at our Terms, Privacy Policy, and Refund Policy.