connect docker mysql with mysql workbench code example
Example: docker db instance workbench connection
# For MySQL, you should open container ports for connection.
-p 3306:3306 # add this part for cli commands
# for yaml files add the part below
ports:
- 3306:3306