Replies: 1 comment
-
|
Solved: there was a |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
We've been using kratos and hydra in our project for a long time. Up until now, with mariadb as the database. That's not supported though, and since a while hydra cannot upgrade because of that, so we're now attempting to switch to mysql instead.
Ironically however, a fresh kratos install fails to apply its (auto)migrations against mysql:
This is with mysql running in docker:
docker.io/bitnami/mysql:8.4.2-debian-12-r4and a fresh empty database. I found an issue about this, and the recommended solution is to set mysql'ssql_modetoTRADITIONAL. I tried that by setting the env varMYSQL_EXTRA_FLAGSto--sql-mode=TRADITIONAL, but the kratos error remains.Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions