i have installed espocrm in vm with default settings from docker. Here the sites:
espocrm docker
i completely copy paste the docker-compose script into my docker-compose.yml and run docker-compose up -d in vm.
how to access the mysql so i can explore the database inside container? thanks
Asked
Active
Viewed 8 times
0
dhanyn10
- 302
- 1
- 16
-
When you start MySQL, include a `-p 3306:3306` option immediately after `docker run` (before the `mysql` image name), and then you can connect to it using any ordinary MySQL client from outside a container using `localhost` and the normal MySQL port 3306. Or in the Compose setup, under `mysql:`, add a line `ports: ['3306:3306']` with the same effect. – David Maze Jan 26 '22 at 10:44