Repository navigation
Description
Summary
The official release of Metabase (open-source BI tool) cannot connect to MatrixOne out of the box via the MySQL connector. The connection fails due to MySQL protocol compatibility issues.
A working version currently exists as a custom-patched Metabase maintained by @iamlinjunhong, which fixes the compatibility gaps. This patched version is deployed in a customer POC environment and works correctly.
Expected Behavior
Metabase (latest stable) should be able to connect to MatrixOne using the built-in MySQL database driver, execute queries, and render dashboards — the same way it works with MySQL 8.x.
Actual Behavior
Connection fails or queries error out when using the official Metabase release against MatrixOne. Specific errors depend on the Metabase version but are related to MySQL protocol handshake / metadata query incompatibilities.
Impact
- Metabase is one of the most popular open-source BI tools (40K+ GitHub stars)
- Many customers evaluate MatrixOne by connecting their existing BI stack
- Every customer who tries Metabase + MO hits this wall immediately
- At least one active customer POC currently depends on the custom patch
What Needs to Be Done
- Identify the specific MySQL protocol gaps that cause Metabase to fail (likely
information_schemaqueries,SHOWcommand output format, or session variable handling) - Fix them in MatrixOne's MySQL protocol layer so that unmodified Metabase works
- Verify with Metabase latest stable (v0.52+)
Reference
- Current workaround: custom-patched Metabase by @iamlinjunhong
- Related: this is part of a broader MySQL ecosystem compatibility effort — Power BI has similar issues (see [Compatibility] Power BI cannot connect to MatrixOne via MySQL connector #24162)
Consolidated tracking — 2026-11-16
This issue coordinates the shared MySQL-connector compatibility investigation for:
- [Tracking]: MySQL connector compatibility for Metabase and Power BI #24161 — Metabase connection compatibility and its native-client reproduction.
- [Compatibility] Power BI cannot connect to MatrixOne via MySQL connector #24162 — Power BI through the MySQL connector, including its customer/POC acceptance scenario.
The reports are in the same root-cause family, but a single code fix is not assumed. Investigate the common handshake, SQL, metadata, and protocol behavior together; close either issue only after its own client-specific reproduction and acceptance pass.
Both issues remain open and retain @iamlinjunhong as their sole assignee.
Activity
dengn commentedon Oct 12, 2026
Additional native-client reproduction for this existing Metabase compatibility tracker (2026-10-12).
Pinned environment
23d8f61252f3017dff218b530817a240206fd762, localworkbuild.git_version() = 23d8f61252,VERSION() = 8.0.30-MatrixOne-v.e2461dc), imagesha256:08b1ebc81765c42f936acd4a83db4178e403805f9c473650e974a2b70cf38d37.META-INF/maven/org.mariadb.jdbc/mariadb-java-client/pom.properties.Driver,AbstractConnectProtocolandBufferclass bytes to the bundled copies. Standalone JAR SHA256:216310985509ad41bf94e649f520d124b2ad4bb8a40d865ed6606de528bbb0ab.1. Pipeline authentication: independent reproduction
The default connection initialization can fail with:
Two bounded, sequential connection experiments:
usePipelineAuth=false, 30 fresh connectionsEvery successful connection executed
SELECT 1and returned 1. This is intermittent, not an assertion that every default connection must fail. The counts are diagnostic observations, not long-duration stability statistics.Minimal reproduction:
Supply
MO_HOST,MO_PORT,MO_USERandMO_PASSWORDthrough the environment. Run with the public Maven artifactorg.mariadb.jdbc:mariadb-java-client:2.7.15:Current application workaround: add
usePipelineAuth=falseto the Metabase MySQL datasource's additional connection options. This enabled native SQL and saved-card execution in the tested application.No packet-level root cause or reference-MySQL control is claimed here. Please triage the driver/server pipeline exchange and retest the intended supported versions.
2. Table discovery has a separately isolated SQL blocker
Metabase's
sync-tablesthen fails onSHOW GRANTS FOR CURRENT_USER().The standalone SQL reproduction and successful
SHOW GRANTScontrol are now recorded in #29952.3. Field-sync exception: observed, attribution still open
The native Metabase
sync-fieldslog also reports:This is an application/driver interaction observation, not yet an established MatrixOne field-type defect. A standalone
DatabaseMetaData.getColumnscheck for the nine-column synthetic orders table completed after pipeline auth was disabled; itsDATA_TYPEandCOLUMN_SIZEvalues were numeric.The exact failing Metabase metadata statement and field still need isolation. This should not be conflated with #29904's uppercase type names / NULL collation report or presented as fixed merely because native SQL works.
Attribution boundary
The accompanying BI sweep also found a Superset tuple-mutation error and Rill/Evidence DECIMAL-to-floating-point precision loss. Those are client-side findings and are not reported here as MatrixOne engine defects.
The earlier observed one-byte spill cap was subsequently traced to the automatic disk-headroom policy when available disk is at/below its 16 GiB reserve; the same queries passed with the original configuration after freeing space. It is excluded from the confirmed database-defect list.
[-][Compatibility] Metabase cannot connect to MatrixOne without custom patches[/-][+][Tracking]: MySQL connector compatibility for Metabase and Power BI[/+]