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
-
- Posts: 18355
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Are you using a docker installation?
-
- Posts: 18355
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Connect to the container and just run the mysql command.
-
- Posts: 26
- Joined: Tue Oct 26, 2021 9:57 am
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?
-
- Posts: 18355
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
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.
-
- Posts: 26
- Joined: Tue Oct 26, 2021 9:57 am
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
-
- Posts: 18355
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Are you sure you connected to the container where MySQL / MariaDB server is running?
-
- Posts: 26
- Joined: Tue Oct 26, 2021 9:57 am
Yes i got same error.
Is it possible to host own supla cloud on cpanel?
Like, Copy all supla cloud content to the cpanel and connect external database to that.
I’m beginner if it is possible then i will able to understand supla easily.
Is it possible to host own supla cloud on cpanel?
Like, Copy all supla cloud content to the cpanel and connect external database to that.
I’m beginner if it is possible then i will able to understand supla easily.
-
- Posts: 18355
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Sorry but I don't understand what you want to do.