Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

How to reset Xtream Codes MySQL Root Password?

redhat

Administrator
Staff member
Administrator
Chief Moderator
Moderator
Joined
Jun 19, 2019
Messages
3,075
Reaction score
14,825
Points
134
Location
root[@]woi
Once you don't remember the Xtream Codes MySQL Root Password you set during the Main Server installation, you can reset it with the following steps.


Reset a MySQL root password


Connect to your Main Server with putty


Stop the MySQL service

(Ubuntu and Debian) Run the following command:
Bash:
sudo /etc/init.d/mysql stop

(CentOS, Fedora, and Red Hat Enterprise Linux) Run the following command:
Bash:
sudo /etc/init.d/mysqld stop


Start MySQL without a password

Run the following command. The ampersand (&) at the end of the command is required.
Bash:
sudo mysqld_safe --skip-grant-tables &


Connect to MySQL

Run the following command:
Bash:
mysql -uroot


Set a new MySQL root password

Run the following command:
Bash:
use mysql;
update user set authentication_string=PASSWORD("mynewpassword") where User='root';
flush privileges;
quit

Note: Change mynewpassword with your own password

Stop and start the MySQL service
(Ubuntu and Debian) Run the following commands:
Bash:
sudo /etc/init.d/mysql stop
...
sudo /etc/init.d/mysql start

(CentOS, Fedora, and Red Hat Enterprise Linux) Run the following commands:
Bash:
sudo /etc/init.d/mysqld stop
...
sudo /etc/init.d/mysqld start


Log in to the database

Test the new password by logging in to the database.
Bash:
mysql -u root -p

Enter your new password when prompted.
 
Last edited by a moderator:
D

DM 3

Guest
Please note that if you change your password then you will also need to 'remake' your main panel server with the updated MySQL password otherwise you will have a dead panel.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

brainzr

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
79
Reaction score
473
Points
94
Location
Spain
Hey @redhat , seeing we dont have a panel anymore , do you think we can reset the mysql password?
Id like to change a few things into database (like expiry dates) but the MySql password was put in by XC itself..
 

redhat

Administrator
Staff member
Administrator
Chief Moderator
Moderator
Joined
Jun 19, 2019
Messages
3,075
Reaction score
14,825
Points
134
Location
root[@]woi
Hey @redhat , seeing we dont have a panel anymore , do you think we can reset the mysql password?
Id like to change a few things into database (like expiry dates) but the MySql password was put in by XC itself..
Yes you can as long as you have ssh access
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

didar

Extended Member
Ext. Member
Joined
Sep 29, 2019
Messages
93
Reaction score
223
Points
54
Location
iraq
Once you don't remember the Xtream Codes MySQL Root Password you set during the Main Server installation, you can reset it with the following steps.


Reset a MySQL root password


Connect to your Main Server with putty


Stop the MySQL service

(Ubuntu and Debian) Run the following command:
Bash:
sudo /etc/init.d/mysql stop

(CentOS, Fedora, and Red Hat Enterprise Linux) Run the following command:
Bash:
sudo /etc/init.d/mysqld stop


Start MySQL without a password

Run the following command. The ampersand (&) at the end of the command is required.
Bash:
sudo mysqld_safe --skip-grant-tables &


Connect to MySQL

Run the following command:
Bash:
mysql -uroot


Set a new MySQL root password

Run the following command:
Bash:
use mysql;
update user set authentication_string=PASSWORD("mynewpassword") where User='root';
flush privileges;
quit

Note: Change mynewpassword with your own password

Stop and start the MySQL service
(Ubuntu and Debian) Run the following commands:
Bash:
sudo /etc/init.d/mysql stop
...
sudo /etc/init.d/mysql start

(CentOS, Fedora, and Red Hat Enterprise Linux) Run the following commands:
Bash:
sudo /etc/init.d/mysqld stop
...
sudo /etc/init.d/mysqld start


Log in to the database

Test the new password by logging in to the database.
Bash:
mysql -u root -p

Enter your new password when prompted.
thanks for the info
 

webgon

Extended Member
Ext. Member
Joined
Oct 26, 2019
Messages
6
Reaction score
1
Points
14
Location
españa
hello good morning, it doesn't work for me in the second command and my server is giving me an error with ubuntu 18
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

swanlove22

Extended Member
Ext. Member
Joined
Oct 19, 2019
Messages
29
Reaction score
8
Points
14
Location
Germany
Thanks a lot for most important thing . always must remember that we can back our sql password
 
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock