MySQL

Status: Full
Default port: 3306
Compared against: MySQL 8.0

Scores are from main at a3232c9 (2026-11-30) unless noted. Full means a deep multi-phase differential suite matches the reference and real applications run on the wire; Preview means the suites are strong but app coverage, a local reference or a known gap is still missing. See How a wire is proven.

What was measured

289/289 with result types: corpus 246/246, second connection 18/18, restart 25/25.

Feature matrix 208/210. MariaDB's official clients also work against this wire (see Compatible databases).

(source: README.md, Wire scorecard)

Connect

mysql -h 127.0.0.1 -P 3306 -u postgres -p synergydb

Accounts: the superuser is postgres on a new install. Create users with CREATE USER ... PASSWORD over the PostgreSQL wire. How each wire authenticates, and which wires are open by default, is in Security.

Known gaps

  • The README says AUTO_INCREMENT values are reserved 32 at a time and can jump by up to 32 after kill -9. The code does not: the MySQL path writes each value durably as it is issued, and a multi-row INSERT reserves exactly its row count, so the counter resumes at last + 1 (source: src/query/engine.rs, next_autoincrement; src/storage/mod.rs, advance_i64_counter_exact_by). The 32-value blocks apply to PostgreSQL SERIAL and sequences. See Sequences.
  • BIT_OR and BIT_AND differ; ENUM columns sort alphabetically instead of by declaration order; UNSIGNED ranges are not tracked.
  • Not benchmarked yet (no sysbench run recorded).

(source: README.md, Known gaps, unless another file is named)

Re-run the proof

One command, from a clone of the repository (needs Docker, Python 3.10+ and Rust):

make prove ARGS='--wires mysql'

This starts the reference engine in Docker next to a fresh SynergyDB, runs every phase and writes prove/out/latest/report.html. (source: prove/README.md)

By hand:

python test-scripts/diff-mysql/diff_mysql.py --syn-port 13306
python test-scripts/wire-matrix/mysql_matrix.py

The by-hand steps (reference containers, Python packages, the all-wires diff config) are in Benchmarks and reproduction.

Proof files

  • docs/proof/2026-11-30/proof-pack-a3232c9/logs/mysql-corpus-second-connection-restart.txt
  • docs/proof/2026-11-30/proof-pack-a3232c9/logs/mysql-feature-matrix.txt
  • docs/status/2026-11-30-mysql-diff-column-types.md