MySQL
Currently, MySQL is supported through the tbls integration. While direct MySQL support is not yet implemented, you can use tbls as a workaround to generate schema documentation for your MySQL database.
Using tbls with MySQL
-
First, install tbls by following the installation instructions
-
Use tbls to generate a schema.json file from your MySQL database:
Replace the following with your database details:
dbuser
: Your MySQL usernamedbpass
: Your MySQL passwordhostname
: Your database host (e.g., localhost)3306
: Port number (default is 3306)dbname
: Your database name
- Use the generated schema.json with Liam:
You can find sample implementations for this case on GitHub:
- GitHub Actions: .github/workflows/mysql-with-tbls.yml
- tbls project: samples/mysql-with-tbls
For more details about using tbls format, see the tbls documentation.
Direct MySQL Support
Direct MySQL support is planned but not yet implemented. If you're interested in this feature, please follow or contribute to the discussion on GitHub.