shell> ruby test.rb (64.1ms) SELECT COUNT(*) FROM `employees` 300024 Stopping mysqld: [ OK ] Starting mysqld: [ OK ] (0.4ms) SELECT COUNT(*) FROM `employees` Mysql2::Error: MySQL server has gone away: ...
This library parses a MySQL binary log in pure Ruby and produces hashes as output, much like the following Query event: {:type=>:query_event, :position=>107 ...