perdian / flightlog

Flight log web application that keeps track of your personal flight history
Apache License 2.0
38 stars 2 forks source link

Update MySQL Connection/J to MariaDB Connector/J #16

Closed robvanoostenrijk closed 1 month ago

robvanoostenrijk commented 1 month ago

Hi,

I am using flightlog with a MariaDB backend, though it works with the legacy MySQL/J connector, I'd like to use some benefits from the newer MariaDB/J connector such as unix sockets.

As MySQL is now legacy, is it possibly to update pom.xml to include the MariaDB/J connector as default instead?

<dependency> 
   <groupId>org.mariadb.jdbc</groupId>
   <artifactId>mariadb-java-client</artifactId>
   <version>$VERSION</version>
</dependency>

Installation information on: https://mariadb.com/kb/en/installing-mariadb-connectorj/

perdian commented 1 month ago

I'm not really sure if I'd call MySQL legacy but that's another discussion 😀

From what I can see both drivers can coexist peacefully so I don't see any issue with just including both JDBC drivers in the final application. Yes I think than can be done 👍.

perdian commented 1 month ago

Released as version 2.1.5