January 2018
Intermediate to advanced
446 pages
12h 57m
English
mysql> GRANT REPLICATION SLAVE ON *.* TO 'binlog_user'@'%' IDENTIFIED BY 'binlog_pass';Query OK, 0 rows affected, 1 warning (0.03 sec)
mysql> SHOW BINARY LOGS;+----------------+-----------+| Log_name | File_size |+----------------+-----------+| server1.000008 | 2451 || server1.000009 | 199 || server1.000010 | 1120 || server1.000011 | 471 || server1.000012 | 154 |+----------------+-----------+5 rows in set (0.00 sec)
You can find the first binary log available on the server; from this, you can start the backup. In this case, it is server1.000008.
Read now
Unlock full access