How to pass default user and password (postgres) to docker start #1298
-
I followed the documentation but I can not connect via the postgres protocol because I don't know the default credentials. The documentations seems not to cover how I can set user/password for the docker installation: https://docs.greptime.com/getting-started/installation/greptimedb-standalone#docker Any hints are appreciated, thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi You can refer to this doc for more detail: https://docs.greptime.com/user-guide/protocols/postgresql#connect |
Beta Was this translation helpful? Give feedback.
Hi
By default greptimedb does't setup any password. However, if you want to connect via PostgreSQL protocol, you'll need to specify the database you want to connect to, for example
psql -h localhost -p 4003 -d public
You can refer to this doc for more detail: https://docs.greptime.com/user-guide/protocols/postgresql#connect