17 lines
744 B
Plaintext
17 lines
744 B
Plaintext
include/master-slave.inc
|
|
Warnings:
|
|
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
|
|
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
|
|
[connection master]
|
|
CREATE EVENT e1
|
|
ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 DAY
|
|
DO SELECT 1;
|
|
[START] ALTER EVENT e1 ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 2 DAY;
|
|
[connection default]
|
|
KILL QUERY CONNECTION_ID;
|
|
[connection master]
|
|
ERROR 70100: Query execution was interrupted
|
|
include/rpl_diff.inc
|
|
DROP EVENT e1;
|
|
include/rpl_end.inc
|