inno compat

Check tablespace compatibility with a target MySQL version.

Usage

# Single file check
inno compat -f users.ibd -t 8.4.0

# Directory scan
inno compat --scan /var/lib/mysql -t 9.0.0

# Verbose output
inno compat -f users.ibd -t 8.4.0 -v

# JSON output
inno compat -f users.ibd -t 8.4.0 --json

Options

OptionDescription
-f, --filePath to InnoDB data file (mutually exclusive with --scan)
-s, --scanScan a data directory (mutually exclusive with --file)
-t, --targetTarget MySQL version (e.g., "8.4.0", "9.0.0")
-v, --verboseShow detailed check information
--jsonOutput in JSON format
--page-sizeOverride page size
--keyringPath to MySQL keyring file
--depthMaximum directory recursion depth (default: 2, 0 = unlimited)

Checks

See the Upgrade Compatibility guide for the full list of checks and common upgrade scenarios.

See the MySQL Version Matrix for a reference of feature support across MySQL versions.