Access the database for Open edX

Hi! I deployed an Open edX instance on an Azure virtual machine using Tutor. I would like to access the database of Open edX but I cannot find any information about the database. Is there a way to do this? Many thanks!!

Hi @Yanke

docker exec -uroot -it tutor_local_mysql_1 bash

mysql -u root -p

password: from your config.yml (MYSQL_ROOT_PASSWORD)

than you can run SQL (e.g. " use openedx; " && " show tables;")

1 Like

It works! Thank you very much!

1 Like