Mysql database access

psp50
Posts: 26
Joined: Tue Oct 26, 2021 9:57 am

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?
User avatar
pzygmunt
Posts: 18279
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Are you using a docker installation?
psp50
Posts: 26
Joined: Tue Oct 26, 2021 9:57 am

yes, I have installed using docker.
User avatar
pzygmunt
Posts: 18279
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Connect to the container and just run the mysql command.
psp50
Posts: 26
Joined: Tue Oct 26, 2021 9:57 am

pzygmunt wrote: Wed Nov 10, 2021 6:15 pm 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?
User avatar
pzygmunt
Posts: 18279
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

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.
psp50
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
User avatar
pzygmunt
Posts: 18279
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Are you sure you connected to the container where MySQL / MariaDB server is running?
psp50
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.
User avatar
pzygmunt
Posts: 18279
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Sorry but I don't understand what you want to do.
Post Reply

Return to “General discussion”