Switch to MariaDB connector

Change-Id: I9fbc057ba1e8077725f64202544d35483077ef03
Issue-ID: VID-83
Signed-off-by: Ofir Sonsino <os0695@att.com>
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system.properties b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system.properties
index 0cbc312..7a6d5d9 100755
--- a/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system.properties
+++ b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system.properties
@@ -62,8 +62,8 @@
 #hb.show_sql=true

 

 #Mysql

-db.driver = com.mysql.jdbc.Driver

-db.connectionURL = jdbc:mysql://localhost:3306/vid_openecomp_epsdk

+db.driver = org.mariadb.jdbc.Driver

+db.connectionURL = jdbc:mariadb://localhost:3306/vid_openecomp_epsdk

 db.userName = euser

 db.password = euser

 #db.hib.dialect = org.hibernate.dialect.MySQLDialect

diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties
index a872ef2..0ce1d5d 100755
--- a/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties
+++ b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties
@@ -18,8 +18,8 @@
 #hb.show_sql=true

 

 #mysql

-db.driver = com.mysql.jdbc.Driver

-db.connectionURL = jdbc:mysql://${VID_MYSQL_HOST}:${VID_MYSQL_PORT}/${VID_MYSQL_DBNAME}

+db.driver = org.mariadb.jdbc.Driver

+db.connectionURL = jdbc:mariadb://${VID_MYSQL_HOST}:${VID_MYSQL_PORT}/${VID_MYSQL_DBNAME}

 db.userName = ${VID_MYSQL_USER}

 db.password = ${VID_MYSQL_PASS}

 db.hib.dialect = org.hibernate.dialect.MySQLDialect