Does anyone have an idea about what are the db `us...
# talk-kratos
c
Does anyone have an idea about what are the db
user
permissions required for kratos for mysql db ? I coudn't find anything the documentation related to db
user
permissions
Copy code
DSN=<mysql://user:password@tcp>(host:123)/database?parseTime=true
q
Kratos will: • create/alter tables if you run the migrations process • read from these tables • update these tables • delete from these tables
I don't think kratos will create other users or things like that
r
That sounds broadly, correct, yes.
q
also, review migrations folder in Kratos, maybe it drops some tables as well? I haven't taken any look at that
r
yes, it might drop tables too
if you want, you can have different users for the migration job and kratos itself. Kratos proper will never drop or alter tables. The migration job will insert/update/delete, though.