schemacrawler / SchemaCrawler

Free database schema discovery and comprehension tool
http://www.schemacrawler.com/
Other
1.58k stars 200 forks source link

Add MariaDB connector for Java in Docker image #1415

Closed loicsimon closed 6 months ago

loicsimon commented 6 months ago

Feature Request

Currently, Docker image of schemacrawler embeds MySQL connector but not MariaDB connector. MySQL connector isn't sufficient as it allows to read schema of tables of a MariaDB database (MariaDB 10.11.6) but not foreign keys.

Is it possible to add MariaDB connector in Docker image?

As per MariaDB connector official Github repository, it's distributed under LGPL-v2.1. Could it be a problem?

Thank you.

Possible Alternatives

As a workaround, I'm creating a Docker image from official schemacrawler image to add MariaDB connector in lib/ folder. The Dockerfile I use :

FROM schemacrawler/schemacrawler

COPY mariadb-java-client-3.3.2.jar /opt/schemacrawler/lib/

Additional Context

No response