Hello, I am using memory as database `dsn: memory`...
# talk-kratos
w
Hello, I am using memory as database
dsn: memory
in Windows 11. But I got an error connecting to database
ttime=2022-06-01T10:04:23+05:30 level=warning msg=Unable to connect to database, retrying. audience=application error=map[message:unsupported dialect 'sqlite3' stack_trace:stack trace could not be recovered from error type *errors.errorString] service_name=Ory Kratos service_version=v0.10.0
time=2022-06-01T10:04:23+05:30 level=fatal msg=Unable to initialize service registry. audience=application error=map[message:unsupported dialect 'sqlite3' stack_trace:
<http://github.com/ory/kratos/driver.(*RegistryDefault).Init|github.com/ory/kratos/driver.(*RegistryDefault).Init>
/project/driver/registry_default.go:530
<http://github.com/ory/kratos/driver.New|github.com/ory/kratos/driver.New>
/project/driver/factory.go:15
<http://github.com/ory/kratos/cmd/serve.NewServeCmd.func1|github.com/ory/kratos/cmd/serve.NewServeCmd.func1>
/project/cmd/serve/root.go:33
<http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:860
<http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974
<http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
<http://github.com/ory/kratos/cmd.Execute|github.com/ory/kratos/cmd.Execute>
/project/cmd/root.go:51
main.main
/project/main.go:35
runtime.main
/usr/local/go/src/runtime/proc.go:255
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1581] service_name=Ory Kratos service_version=v0.10.0
It's working in Ubuntu but not in Windows
Can anyone help me out?
w
Is Sqlite required when using memory as dsn
h
yes
w
Working. Thanks
h
np