hello guys. can someone help me on this? <https://...
# prisma-whats-new
you can access the container with
$ docker exec -t -i local_graphcool-db_1 /bin/bash
Inside the container you can access the mysql with
mysql -u root -p
The password is graphcool
hi melv. this is working nicely, thanks
can you help me further on, and tell me how access the data via an mysql tool. like heidi sql, iam using sequel pro and reach into the docker?
maybe there is a better way but with this you can get the ip of the container which you can use as hostname
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' local_graphcool-db_1
Copy code
port is 3306
user: root
password: graphcool
database: graphcool
so i use the ip from the terminal line as host, and set the rest like descriped above. but still getting timeout on connect to ip. how did you figure out the host:port of 3306?
gc local ps
lists for the database container on ports
so I used that.
thanks melv. its working at least in a shell. have a nice coding day