Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am able to start a mariadb testcontainer with a jdbc url like
r2dbc:tc:mariadb:///workflow?TC_IMAGE_TAG=10.6.21.But it does not have the correct timezone I need for my application and my tests.
Tests for queries using
NOW()make problems.With
jdbc:tc:mysql:8.0.36://hostname/databasename?TC_MY_CNF=somepath/mysql_conf_overrideit is possible to provide amy.cnfwith something likeThe same is possible with
jdbc:tc:mariadb.How can I set the timezone for the database container with "r2dbc"?
#4687 says it does not support TC_INITSCRIPT, but this would not help to set the timezone anyway since the timezone must be defined at the start of the database server.
Beta Was this translation helpful? Give feedback.
All reactions