hkwi / sqlalchemy_xcom_plugin

SQLAlchemy MySQL Group Replication helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqlalchemy mysql group replication connect helper

Put plugin=xcom parameter in dialect string (ex: mysql://user:password@host/dbname?plugin=xcom ), then sqlalchemy event listeners in xcom plugin becomes activated. XCom is an implemention of MySQL group replication infrastructure.

Single-primary mode is supported for now. Note that the user connecting to mysql have SELECT privilege on tables in performance_schema datababase.

About

SQLAlchemy MySQL Group Replication helper


Languages

Language:Python 100.0%