Perpetual Newbie 1 Posted November 17, 2018 How to connect to MySQL running in docker container? I'm used this commands to run MySQL in docker: docker pull mysql docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag I need to connect with DBeaver. Share this post Link to post Share on other sites
C.M. 16 Posted November 17, 2018 Use -p parameter to open 3306 port of container for external connections. For example: docker run -p 3306:3306 --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag 1 Share this post Link to post Share on other sites