I was setting up a mysql and the mysql create scripts failed! It threw errors when there was a field such as
CREATE_TIME datetime,
And I had to manually add DEFAULT CURRENT_TIMESTAMP
to all those fields to get it to work. I used mysql-connector-java-8.0.19.jar
and started mysql with
docker run --detach --env MYSQL_ROOT_PASSWORD="test" \
--name test-db --publish 6603:3306 mysql:5.7.7
My Connector is
<Resource
name="jdbc/ProcessEngine"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
uniqueResourceName="process-engine"
driverClassName="com.mysql.cj.jdbc.Driver"
url="jdbc:mysql://localhost:6603/camunda"
defaultTransactionIsolation="READ_COMMITTED"
username="camunda"
password="camunda"
maxActive="20"
minIdle="5"
maxIdle="20"
/>
Is this dangerous / might I run into issues?