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

Destroyed my XC database...any ideas?

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
Yesterday evening my xc database got corrupted, I have a backup but I'm still lost. I'm trying to restore the DB but I'm pretty sure this is not going to work.

Any ideas?

H
 

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
I have a backup which I'm restoring but I had to re-install mysql and I don't think that it s going to work.
 
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

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
Not really, start_services.sh is saying:
{"error":"MySQL: MySQL server has gone away"}

I'm still restoring but there are quite a few other things that need to be done here.
 
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

Iptvgeeker

Extended Member
Ext. Member
Joined
Sep 25, 2019
Messages
21
Reaction score
76
Points
24
Location
England
Did you change the mysql port after doing a reinstall as it will default to port 3306?
 

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
Did you change the mysql port after doing a reinstall as it will default to port 3306?
It's still the default, but there will be users in the mysql database that are not there now due to reinstallation I believe. These would have been installed with the app, and the installation does not exist anymore. :( :( sad times
 

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
When I say mysql database I mean the one with the name mysql that will have the users with asset to mysql
 
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

Iptvgeeker

Extended Member
Ext. Member
Joined
Sep 25, 2019
Messages
21
Reaction score
76
Points
24
Location
England
It's still the default, but there will be users in the mysql database that are not there now due to reinstallation I believe. These would have been installed with the app, and the installation does not exist anymore. :( :( sad times
How are you re importing your users?
 

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
I have the db fully restored, I tried to use the /home/xtreamcodes/iptv_xtream_codes/start_services.sh

And got {"error":"MySQL: Connection refused”}

I think there is a user that they create when they install the DB.

Is it possible to fix this please?
 
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

castaway

Extended Member
Ext. Member
Joined
Sep 24, 2019
Messages
30
Reaction score
88
Points
29
Location
Barsoom
your mysql server isn't working, you have to start mysql server.
to check does mysql service is working type:
PHP:
service mysql status
to start mysql service
PHP:
service mysql start
If mysql is working contact me on PM
 

bulge

Extended Member
Ext. Member
Joined
Sep 20, 2019
Messages
22
Reaction score
48
Points
24
Location
ES
Sounds like you changed your mysql password for iptv_user. Located in your xc config file are the credentials for your local db, if they dont match then it wont connect. Ensure your mysql-server is running on port 7999 and you have granted access to the database to that user using the credentials you had previously.
Don't forget to like my post if you found it helpful.
 

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
your mysql server isn't working, you have to start mysql server.
to check does mysql service is working type:
PHP:
service mysql status
to start mysql service
PHP:
service mysql start
If mysql is working contact me on PM


SQL is running it must be something to do with an SQL user that they create when they create the database which was lost when I reinstalled Mysql
 
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

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
Sounds like you changed your mysql password for iptv_user. Located in your xc config file are the credentials for your local db, if they dont match then it wont connect. Ensure your mysql-server is running on port 7999 and you have granted access to the database to that user using the credentials you had previously.
Don't forget to like my post if you found it helpful.
I did grant full rights to the root user, but I think that they use a different user :(
 

humat

Extended Member
Ext. Member
Joined
Sep 28, 2019
Messages
18
Reaction score
20
Points
14
Location
Malta
I did grant full rights to the root user, but I think that they use a different user :(
Also I used the same root password when I reinstalled mysql and kept the standard port.
 

castaway

Extended Member
Ext. Member
Joined
Sep 24, 2019
Messages
30
Reaction score
88
Points
29
Location
Barsoom
SQL is running it must be something to do with an SQL user that they create when they create the database which was lost when I reinstalled Mysql

Usually when you reinstall or update mysql server, package manager doesn't remove or update database. As bulge said, maybe mysql server is working on default port, which is 3306, but xtream installation change that port to 7999 for v2.
You can check on which port your mysql server is working, by looking in mysql configuration file, on location
PHP:
/etc/mysql/my.cnf
or by running command:
PHP:
netstat -plnat | grep mysql

if you're looking config file, option port is located under [mysqld] configuration group, else if you running netstat command, at the first line you have output like 0.0.0.0:: Port_no.
 
Last edited:
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
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