Profile picture
Cédric Luthi @0xced
, 5 tweets, 2 min read Read on Twitter
Here is my story of running MySQL on macOS.
1. Install MySQL 5.7.21, but the installer is fucked: twitter.com/0xced/statuses…
2. Install MySQL 8.0.4 which introduced a new authentication mechanism that neither MySQL Workbench nor Sequel Pro support: blog.gabriela.io/2018/02/22/how…
3. Install Docker, hoping to get a working MySQL container.
4. Test Docker installation by running `docker run hello-world` as instructed on docs.docker.com/docker-for-mac… but get this error: "Cannot connect to the Docker daemon at tcp://127.0.0.1:2375. Is the docker daemon running?"
5. After unsuccessful googling, miraculously remember that I had used Docker some years ago and that I had `export DOCKER_HOST=tcp://127.0.0.1:2375` in my profile that I must remove for Docker to properly work.
6. Spent some time deciding which MySQL image to use: hub.docker.com/_/mysql/ or hub.docker.com/r/mysql/mysql-… (I chose the latter but I still haven't figured out what is the difference.)
7. Read the documentation of the Docker image, get a working MySQL container running. 🎉
8. Several hours have elapsed, why did I need MySQL in the first place? 🤔
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to Cédric Luthi
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member and get exclusive features!

Premium member ($3.00/month or $30.00/year)

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!