-
Notifications
You must be signed in to change notification settings - Fork 63
Developer_3.x Getting started MariaDB
matthiaskissler edited this page Aug 31, 2022
·
1 revision
- Kitodo.Production application must be built with a connector for MariaDB
- Hibernate and Flyway configuration must be adjusted to use MariaDB
- modifications must be made in file
hibernate.cfg.xml
- for correct dialect look at https://stackoverflow.com/a/51734560 or Hibernate JavaDoc.
- f.e. use
org.hibernate.dialect.MariaDB10Dialect
if your MariaDB server is in version 10.1.x
- instead of
com.mysql.jdbc.Driver
useorg.mariadb.jdbc.Driver
- maybe this is not needed anymore as in normal cases connection driver class is detected correctly by Hibernate
- instead of
jdbc:mysql://...
usejdbc:mariadb://...
- only needed if you want to migrate your database with help of Flyway
- modification must be done in file
flyway.properties
- instead of
jdbc:mysql://...
usejdbc:mariadb://...