Created
July 10, 2020 17:52
-
-
Save jgentes/3ee2f9cd3c6edafdfd6187960d633c1b to your computer and use it in GitHub Desktop.
Automatically start MSQL in WSL2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MYSQLPID=$(pidof mysqld) | |
if [ -z $MYSQLPID ]; then sudo service mysql start; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment