Relative Content

Tag Archive for mysqldocker

Connecting to local mysql server from within a docker container

I’m running a go app locally (MacOS Sonoma) that connects to a local mysql server. This works fine when I build the app and run it from the command line. When I create a container and run it – all locally – it can not connect. The exact error:

Connection Refused to MYSQL Docker container

I’m attempting to set up a simple Docker application consisting of a container running MySql, and a second container running some Python. Following this example: https://mothishdeenadayalan.medium.com/containerizing-a-python-app-mysql-python-docker-1ce64e444ed9

Docker MySQL and Workbench Issues

I have looked around on the internet, and I have looked onto StackOverflow for already existing questions. based on YouTube videos, I have: