Shared table across MySQL and PostgreSQL
Enable the MySQL listener on port 3306, write rows from a MySQL client, and query the same table from psql on port 5432.
Preload pg_mysql
Starting from the instance created in Build and start Mimus, preload pg_mysql, enable the MySQL wire listener on port 3306, set a login password, and create the SQL extension inside postgres:
Ensure pg_hba.conf permits local TCP logins (scram-sha-256 or md5) from 127.0.0.1/32.
Create and populate a table from MySQL
Connect with the standard mysql command-line client on TCP 3306, create a logical MySQL database app, and insert two rows:
Each logical MySQL database maps to a PostgreSQL schema inside mysql.database (postgres by default).
Query the same physical table from PostgreSQL
Now read and join those exact committed rows over native PostgreSQL on port 5432:
Both sessions share one buffer pool, one WAL stream, and one physical relation (app.notes). For driver details, TLS setup and SQL dialect rules, see the MySQL manual.
