Index: lams_build/common.properties =================================================================== diff -u -r1b036cb2e23c7358b8b44b47c4a131853d2075d1 -r65fbbe8890364e0ba2624f16794df18439af397a --- lams_build/common.properties (.../common.properties) (revision 1b036cb2e23c7358b8b44b47c4a131853d2075d1) +++ lams_build/common.properties (.../common.properties) (revision 65fbbe8890364e0ba2624f16794df18439af397a) @@ -66,14 +66,15 @@ db.password=lamsdemo db.scripts=${basedir}/db/sql +# you can set own timezone, for example "Europe/Warsaw" +db.timezone=UTC - # Basedir of embedded MySQL server. This is also the place where data is stored. # Set it if you use MXJ for running and/or building LAMS. db.location=C:/lams/database # To build LAMS using standalone MySQL server, use properties below -db.url.build=jdbc:mysql://${db.host}:${db.port}/${db.name}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useUnicode=true&useSSL=false +db.url.build=jdbc:mysql://${db.host}:${db.port}/${db.name}?characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&autoReconnect=true&useUnicode=true&useSSL=false=&useLegacyDatetimeCode=false&serverTimezone=${db.timezone} db.url.init.build=${db.url.build} # To build LAMS using embedded MySQL server, use properties below