---
title: "Discussion on \"Using Docker to Run MySQL on WSL2\" | Hashnode"
description: "Discussion on \"Using Docker to Run MySQL on WSL2\". A simple approach for setting up a MySQL database for use in development environments on Windows and WSL2 using Docker."
url: "https://hashnode.com/posts/using-docker-to-run-mysql-on-wsl2/6152059ccf735d72249a8992"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using Docker to Run MySQL on WSL2](https://blog.evanottinger.com/using-docker-to-run-mysql-on-wsl2?utm_source=hashnode&utm_medium=feed)

A simple approach for setting up a MySQL database for use in development environments on Windows and WSL2 using Docker.

Sep 27, 2021 · 3 min read · blog.evanottinger.com  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#mysql](https://hashnode.com/tag/mysql)
-   [#containers](https://hashnode.com/tag/containers)
-   [#windows](https://hashnode.com/tag/windows)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Evan Ottinger](https://hashnode.com/@Otty)

@Otty · DC Metro Area, US

  
[View profile](https://hashnode.com/@Otty)

Full-Stack Software Engineer and AppSec Extraordinaire

As an experienced cybersecurity professional with a full-stack development and software engineering background, I am committed to building secure and reliable software solutions. I am passionate about leveraging my expertise in Python, React.js, Django, and other technologies to design and develop cutting-edge applications that meet the highest security and functionality standards.

## Responses 1

Markdown supported · ⌘↵ to post

[Mário Coxe](https://hashnode.com/@mariocoxe)

[Feb 10, 2025](https://hashnode.com/posts/using-docker-to-run-mysql-on-wsl2/6152059ccf735d72249a8992/comment/67a9bace508f75e6e8b004e5)

It was very good, it helped.
