feat: MySQL 8.4 Support and Migration Guide
I would like to upgrade my MySQL instance to 8.4 and migrate my data to the new instance.
Why?
Why we need this feature? AWS recently moved MySQL 8.4 to "Extended Support", which has significantly impacted my service charges. What is the user story for this feature? As an APITable operator, I want to migrate my APITable data from MySQL 8.0 to MySQL 8.4 so that I can receive better support from the community and from cloud service providers.
How?
AI Suggests the following
The repository is set up for MySQL 8.0.x, not 8.4. A few signals in the packed files point to this:
init-db/build.gradle pulls in mysql:mysql-connector-java:8.0.28, an 8.0-series connector.
docker-compose.yaml starts the mysql service with the flag --default-authentication-plugin=mysql_native_password. That option was deprecated in MySQL 8.0.27 and removed in 8.4 (replaced by the authentication_policy variable), so the service would fail to start on 8.4 without editing the compose file.
The MySQL image itself isn't pinned in the compose file — it comes from the ${IMAGE_MYSQL} env var, so the actual version is whatever your .env specifies. The packed files don't include .env or the exact image tag, so I can't confirm the intended version from source, but the configuration flags are 8.0-oriented.If you want to try 8.4, you'd at minimum need to replace --default-authentication-plugin=mysql_native_password with the 8.4 equivalent and verify the connector/Liquibase versions work against 8.4. It's not a configuration the repo supports out of the box.
Source: apitable/apitable