<div dir="ltr"><div><div>Hi Midpoint list,<br><br></div>   I'm trying to set up midpoint to use a remote database server for the repository.  The rub is that it's a RHEL 7 server, and therefore has mariadb 5.5.56.  The wiki (<a href="https://wiki.evolveum.com/display/midPoint/MariaDB">https://wiki.evolveum.com/display/midPoint/MariaDB</a>) says midpoint tests on mariadb 10.0.28. <br></div><div><br></div><div>At this point, midpoint won't start using the mariadb 5.5.56 database.<br></div><div><br></div><div>So far, I had to make a trivial modification to the sql to create the schema:<br>midpoint-3.7.2/doc/config/sql/_all/mysql-3.7-all.sql<br>-- mysql-3.7-all.sql   2018-06-08 04:58:50.000000000 -0400<br>+++ mysql-3.7-all.sql.new       2018-06-23 17:57:01.441636150 -0400<br>@@ -1923,7 +1923,7 @@<br>     PROC_INST_ID_ varchar(64),<br>     ACTIVITY_ID_ varchar(64),<br>     CONFIGURATION_ varchar(255),<br>-    CREATED_ timestamp(3) not null DEFAULT CURRENT_TIMESTAMP(3),<br>+    CREATED_ timestamp(3) not null DEFAULT CURRENT_TIMESTAMP(),<br>     PROC_DEF_ID_ varchar(64),<br>     TENANT_ID_ varchar(255) default '',<br>     primary key (ID_)<br><br></div><div>Yup, just get rid of the 3 in the CURRENT_TIMESTAMP.  <br><br></div><div>I have verified connectivity with the credentials in the config.xml.  <br></div><div><br>The current failure is related to the `SET TRANSACTION READ ONLY` statements that aren't supported in the RedHat provided mariadb.  This prevents midpoint from starting.  If I use the builtin H2, midpoint starts fine.  So, it really is the mariadb version issue causing the problems.<br><br>Now, the questions to the greater midpoint-dev community:<br><br></div><div>Have you tried to get this to work, and if so, what were the results?<br><br></div><div>For those who use an "enterprise" linux flavor and mariadb as the DB repository store, how do you manage the mariadb installation?<br></div><div><br></div><div>Is there any interest for me to try to hack the source to get this to work and submit a (non-java-guru) patch set?  <br></div><div><br></div><div>-Zach<br></div></div>