taining-the-binary-log/#safely-purging-binary-log-files-while-replicating|Safely Purging Binary Log Files While Replicating]]
To be sure replication is not broken while deleting log files, perform the following steps:
* Get a listing of binary log files on the primary by running **SHOW BINARY LOGS**.
lines in a table, just like you might tail a log file in Linux.
==== Mysql Workbench ====
https://dev... W
BEGIN
DECLARE i_decalage NUMERIC;
DECLARE c_file_demandes CURSOR FOR
SELECT decalage_sec FROM
file_demandes,
themes
WHERE file_demandes.id_theme = themes.id
AND file_demandes.id = NEW.id_file_dema