You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
Hi, here is my code:
MysqldConfig config = aMysqldConfig(v5_7_19)
.withPort(3380)
.withUser("test","Test123")
.withTimeZone(TimeZone.getDefault())
.build();
EmbeddedMysql mysqld = anEmbeddedMysql(config)
.addSchema("test", classPathScript("/test_data_set.sql"))
.start();
I have tried both withTimeZone(TimeZone.getDefault()) and withTimeZone("Europe/Stockholm") .
After MySQL startup, I connect with MySQL workbench, select Now() is always 1 hour earlier than real time.
The screenshot is attached, the time is exactly same, just hour diff 1.
The special is the day-saving time just changed in Stockholm on Sunday (yesterday). The returned of Now() is the time before the day-saving change.
The text was updated successfully, but these errors were encountered:
Hi, here is my code:
MysqldConfig config = aMysqldConfig(v5_7_19)
.withPort(3380)
.withUser("test","Test123")
.withTimeZone(TimeZone.getDefault())
.build();
EmbeddedMysql mysqld = anEmbeddedMysql(config)
.addSchema("test", classPathScript("/test_data_set.sql"))
.start();
I have tried both withTimeZone(TimeZone.getDefault()) and withTimeZone("Europe/Stockholm") .
After MySQL startup, I connect with MySQL workbench, select Now() is always 1 hour earlier than real time.
The screenshot is attached, the time is exactly same, just hour diff 1.
The special is the day-saving time just changed in Stockholm on Sunday (yesterday). The returned of Now() is the time before the day-saving change.
The text was updated successfully, but these errors were encountered: