Replace mysql connector with MariaDB connector
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / resources / application.properties
index 7ed68a9..2b870c0 100644 (file)
@@ -24,11 +24,13 @@ spring.jackson.serialization.indent_output=false
 
 #mybatis configuration
 mybatis.type-aliases-package=org.onap.vfc.nfvo.driver.vnfm.svnfm.db.bean
-spring.datasource.driverClassName = com.mysql.jdbc.Driver
+#spring.datasource.driverClassName = com.mysql.jdbc.Driver
+spring.datasource.driverClassName = org.mariadb.jdbc.Driver
 
 spring.datasource.username=vnfm
 spring.datasource.password=vnfmpass
-spring.datasource.url=jdbc:mysql://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false
+#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false
+spring.datasource.url=jdbc:mariadb://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false
 
 #spring.datasource.driver-class-name=com.mysql.jdbc.Driver
 #spring.datasource.tomcat.max-wait=30000