The project was tested on MariDB 10.6 and Python 3.7 and worked correctly.
The current documentation does not indicate that the project works with MariaDB, so this documentation update will provide
more clarity for other users and hopefully expand the user base.
Testing
Install MariaDB 10.6 (any minor revision) and install python-mysql-replication.
Run the example script dump_events.py
Log into the MariaDB database and run the following sample SQL statements
CREATE DATABASE test;
use test;
CREATE TABLE test4 (id int NOT NULL AUTO_INCREMENT, data VARCHAR(255), data2 VARCHAR(255), PRIMARY KEY(id));
INSERT INTO test4 (data,data2) VALUES ("Hello", "World");
UPDATE test4 SET data = "World", data2="Hello" WHERE id = 1;
DELETE FROM test4 WHERE id = 1;
Look at the output of dump_events.py. It will display the following replication events that correspond to the user queries on the database:
Description
The project was tested on MariDB 10.6 and Python 3.7 and worked correctly.
The current documentation does not indicate that the project works with MariaDB, so this documentation update will provide more clarity for other users and hopefully expand the user base.
Testing
dump_events.py
dump_events.py
. It will display the following replication events that correspond to the user queries on the database: