Skip to content

How to connect to database to run some select queries #1728

Answered by szaimen
jlmanohar asked this question in Questions
Discussion options

You must be logged in to vote

Hi, you can go into the database container with sudo docker exec -it nextcloud-aio-database bash and run some queries then via CLI. For the exact syntax, best is to refer to postgresql docs or recognize docs. Datbasae user is oc_nextcloud, database name nextcloud_database, passwordd $POSTGRES_PASSWORD.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@helmo
Comment options

@th0rgall
Comment options

Answer selected by szaimen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants