Chung
09/15/2025, 7:27 AMsh
spicedb migrate head --datastore-engine=postgres --datastore-conn-uri='postgres://user:-.$[_@localhost:5432/spicedb?sslmode=disable'
7:25AM ERR terminated with errors error="unable to create migration driver for postgres: cannot parse `postgres://user:xxxxxx@localhost:5432/spicedb?sslmode=disable`: failed to parse as URL (net/url: invalid userinfo)"yetitwo
09/15/2025, 2:38 PMyetitwo
09/15/2025, 2:41 PMyetitwo
09/15/2025, 3:03 PMChung
09/16/2025, 12:29 AM--datastore-conn-uri=uri and as an env variable DATASTORE_CONN_URI=uri
The strange thing is when my migration script works with DATABASE_URL='postgres://user:some_special_chars@localhost:5432/otherdb'. For now I just changed the password to workaround it.yetitwo
09/16/2025, 3:48 AMyetitwo
09/16/2025, 3:48 AM