Hi All, I have setup prefect 3.0.11 and configure...
# ask-community
p
Hi All, I have setup prefect 3.0.11 and configured a postgres db to store the data in. PREFECT_API_DATABASE_CONNECTION_URL = "postgresql+asyncpg://prefect1:myVerySecretPassw0rd@10.10.1.11:5432/prefect1" However, this is completly ignored, the data is still written to /home/prefect/.prefect/prefect.db (sqllite) I have created a gist with my complete config. Is this a bug? https://gist.github.com/pjanzen/cff1ff0b93d4fcd433f2565259b81ea0
r
did you try to export PREFECT_API_DATABASE_CONNECTION_URL variable? set on os lvl not profile one?
p
Ok, that did the trick. Does this qualify as bug? I would think so.
r
if docs says that - probably yes
b
Hey Paul and Robert, we can take a look to see if we can replicate what you saw. Did you happen to open an issue for this?
p
Hi Bianca, I raised an issue for this. https://github.com/PrefectHQ/prefect/issues/15815