krowinski/php-mysql-replication

binlog without database connection

homsch opened this issue · 1 comments

is it possible to analyse binary logs without database (socket) connection?
Which classes I can use for?
Maybe with manual column name mapping.

Hi @homsch, I think you can do this by creating class that implements RepositoryInterface and for example returning getFields using some kind of json or redis that was prepared before running script. Best to look in MySQLRepository class and see what is now needed from mysql.