I have installed supla on my own server using docker.
https://github.com/SUPLA/supla-docker
I have tried to access the database but I am unable to access the MySQL database.
can anybody guide me to access the database?
Mysql database access
Are you using a docker installation?
Connect to the container and just run the mysql command.
Thank you so much for your responce.
Can you please explain in little detail?
because I want to access user interfaces for databases like PHPMyAdmin or MySQL workbench software.
Is it possible to do that?
Yes. It is possible. Connect to the container. Run the mysql command. Add a user. Open port 3306 to connect outside the container and you can connect with a remote client.
i unable to do that when i try to do that i got this error in the commend line.
Code: Select all
Command 'mysql' not found, but can be installed with:
apt install mysql-client-core-5.7
apt install mariadb-client-core-10.1
Are you sure you connected to the container where MySQL / MariaDB server is running?
Sorry but I don't understand what you want to do.