db.
I have changed my database server from MySQL to MariaDB in my own server.
Then I have restarted my tomcat without any change kn war files and I saw that my spring boot war files are working with mariadb also!
while my datasource configuration in application.properties is for Mysql not mariadb:
spring.datasource.url=jdbc:mysql://...
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
How it is possible?
No Answer?
Mariadb is a fork from mysql. So both of them work with same configuration and dialect and etc.
Afaik, MariaDB is derived from MySQL. They are similar.
Обсуждают сегодня