Skip to content

Commit cdae925

Browse files
authored
Set mysql server time (#2720)
1 parent b15239a commit cdae925

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

toolset/setup/linux/databases/mysql/create.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# To maintain consistency across servers and fix a problem with the jdbc per
2+
# http://stackoverflow.com/questions/37719818/the-server-time-zone-value-aest-is-unrecognized-or-represents-more-than-one-ti
3+
SET GLOBAL time_zone = '00:00';
4+
15
# modified from SO answer http://stackoverflow.com/questions/5125096/for-loop-in-mysql
26
DROP DATABASE IF EXISTS hello_world;
37
CREATE DATABASE hello_world;

0 commit comments

Comments
 (0)