Acessing MySQL DB in a container from the host machine

Viewed 18

I have a MySQL DB running in a docker container.

It has the 3306 port, the user root and host mysql.

I now want to access this database via the MySQL workbench which is locally installed on my computer.

What do I have to insert as the Hostname parameter?

0 Answers
Related