Skip to content

Limits and troubleshooting

Diagnose connection and migration failures and identify workloads that still need a trial.

Connection problems

SymptomWhat to checkAction
mysql looks for a socket file, or gets a protocol errorThe MySQL listener is TCP-only. Port 5432 normally speaks PostgreSQL.Use --protocol=TCP -h 127.0.0.1 -P 3306 or substitute the configured address and port.
Connection refused after a configuration changeVia psql, check SHOW shared_preload_libraries and pg_settings.pending_restart. In the server log look for MySQL protocol listening on port or a socket bind warning.Restart after changing the preloads, addresses or port. Check port conflicts, mysql.listener_on and whether mysql.port=0.
Login fails before any SQLCheck the first matching HBA line using the PostgreSQL database name, role, client IP and TLS mode. Check the role has LOGIN, a current password and the required verifier.Correct the matching rule, reload HBA, reconnect and verify the certificate. For cold-cache SHA-2 login use TLS or a client configured for RSA exchange.
Ordinary role is told to install the extensionIn psql check SHOW mysql.database. Connect to that database and query pg_extension there.As a superuser run CREATE EXTENSION pg_mysql in the target. Grant the application access to its schema.
Login works but tables are missingCompare MySQL SELECT DATABASE() with native SELECT current_database() and the table’s schema.Use USE app in MySQL and a schema-qualified name such as app.notes in the native target database.
Module missing or server refuses to start after removing a preloadCheck the selected installation’s pg_config --pkglibdir, the preload list and the startup log. A cluster can record mysql in mimus_required_features once it has installed MySQL objects.Restore the matching kernel, module and preload. To close the port while keeping the required callbacks, restart with mysql.listener_on=off. Kernel checks

Unexpected results or failed restore

ObservationCheck or remedy
1264 on a large positive ID, 1366 on text, 1292 on a date or timeCompare the source range, raw bytes or temporal value. Convert explicitly before replay. Type examples
Unique-key conflicts differ or ordering changedRun SHOW WARNINGS immediately after DDL, then SHOW CREATE TABLE. Compare the effective collation, key prefix and candidate duplicates. For a comparator version warning, inventory dependent indexes and partition keys before rebuilding and checking them. Collation example
A foreign-key violation persists after disabling checksCheck referenced-key uniqueness and the owner of each referencing table. Re-enabling checks does not repair old rows. FK behavior
A dump contains rows, but the client exited nonzeroTreat the dump as incomplete. Inspect generated columns, trigger definitions and the exact client version. Oracle 5.7.32 returned 2 on the quick-start identity table with default trigger export. Rehearsed alternatives
pgcmp installation conflicts over the bit to bytea castInstall pgcmp and pg_mysql in separate PostgreSQL databases.

Limits to account for before cutover

Stored procedures through the MySQL dialect, MySQL Unix sockets, KILL [QUERY], COM_CHANGE_USER and MySQL GTID replication are unavailable. Applications requiring these interfaces need changes before cutover. For consistent reporting or exclusive maintenance, use the tested transaction behavior.

Workloads using other drivers or pool reset policies, MySQL 8-specific metadata and collation tailoring, arbitrary stored DDL, or their own triggers need application-level verification. An advertised version string, an ORM login and a single successful query each leave those paths open. The published examples also leave production key-provider recovery and the performance of large prefix-key collision groups to the operator’s rehearsal. Driver coverage · Restore coverage