DEV Community

Discussion on: Setting up WSL 2 for Web Development

hymanzhan profile image
Xucong ZHAN Author • Edited on

I am afraid I don't have the best answer. The WSL distros aren't managed by systemd so normal ways of sudo systemctl enable xxx.service won't work. You can try adding sh -c "sudo service mysql start" at the end of .zshrc or .bashrc file.

Thread Thread
bidipeppercrap profile image
Fransisco Wijaya