Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

[HowTo] create SQL event to truncate logs in database automatically

hello mates here i am going to show you a method to truncate database logs automatically by specifaying the time to truncate
here i have select stream log table as the table i want to truncate
here is the code

No quote
how do you ship?
 
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 @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
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 @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delimiter | CREATE EVENT `done_event` ON SCHEDULE EVERY 1 DAY ...' at line 1
 
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 @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
any one know how to do in mariadb
hello mates here i am going to show you a method to truncate database logs automatically by specifaying the time to truncate
here i have select stream log table as the table i want to truncate
here is the code

No quote
how to do in mariadb?
 
tout le monde sait faire dans mariadb

comment faire dans mariadb?
CREATE EVENT `done_event` ON SCHEDULE EVERY 1 DAY DO TRUNCATE TABLE `xtream_iptvpro`.`stream_logs` with phpmyadmin


and to edit time

DROP EVENT `done_event`; CREATE /* DEFINER=`root`@`localhost` */ EVENT `done_event` ON SCHEDULE AT '2021-04-09 12:56:45' ON COMPLETION NOT PRESERVE ENABLE DO TRUNCATE TABLE `xtream_iptvpro`.`stream_logs`
 
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 @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top