How to Connect to mysql Docker from Python application on MacOS Mojave

How to Connect to mysql Docker from Python application on MacOS Mojave

7 years ago
Anonymous $Dftgs0JzgE

https://medium.com/@thecruisy/how-to-connect-to-mysql-docker-from-python-application-on-macos-mojave-32c7834e5afa

Recently, I had difficulties of connecting to mysql docker hosted locally on my MacBook from local Python application. And so, I thought to write this guide to help people save their time from trying to figure out how to do it.

In this article, I am going to walk you through the process end-to-end, from installing mysql docker all the way to writing Python script to connect to it.