⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
binlog
/
r
/
View File Name :
binlog_gtid_simple_recovery.result
RESET MASTER; CREATE TABLE t1 ( c1 INT NOT NULL PRIMARY KEY ); # Generate master-bin.000002 FLUSH LOGS; INSERT INTO t1 VALUES (1); # Generate master-bin.000003 FLUSH LOGS; INSERT INTO t1 VALUES (2); # Generate master-bin.000004 FLUSH LOGS; INSERT INTO t1 VALUES (3); # Move master-bin.000002 to master-bin.000002.bkp and # master-bin.000003 to master-bin.000003.bkp # # Only master-bin.000001 and master-bin.000004 remain, others are moved # , restart the server with enabled binlog-gtid-simple-recovery # and gtid_mode on. If the server scans more than one binary log in # every iteration, it will cause read error on the 2nd and 3rd files. # # restart:--gtid-mode=on --enforce-gtid-consistency --log-slave-updates --binlog-gtid-simple-recovery=ON # # Verify that GLOBAL.GTID_EXECUTED and GLOBAL.GTID_PURGED are empty # after server restarts. # include/assert.inc [GLOBAL.GTID_EXECUTED must be empty.] include/assert.inc [GLOBAL.GTID_PURGED must be empty.] # # Write one gtid event into master-bin.000004 # DROP TABLE t1; # Move master-bin.000004 to master-bin.000004.bkp # # Only master-bin.000001 and master-bin.000005 remain, others are moved # , restart the server with enabled binlog-gtid-simple-recovery # and gtid_mode on again. If the server scans more than one binary # log in every iteration, it will cause read error on the 2nd and # 4th files. # # restart:--gtid-mode=on --enforce-gtid-consistency --log-slave-updates --binlog-gtid-simple-recovery=ON # # Verify that GLOBAL.GTID_EXECUTED contains committed gtid MASTER_UUID:1 # and GLOBAL.GTID_PURGED is empty after server restarts again. # include/assert.inc [committed gtid MASTER_UUID:1] include/assert.inc [GLOBAL.GTID_PURGED is empty] # # Move binary logs back. # # # PURGE BINARY LOGS TO master-bin.000006 # PURGE BINARY LOGS TO 'master-bin.000006'; include/assert.inc [purged gtids MASTER_UUID:1]