Definitely, and that's to be expected with any local vs remote network access comparison. Network latency is so much higher with the latter.
A simple test, which confirms your number of 10 times faster:
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.
Definitely, and that's to be expected with any local vs remote network access comparison. Network latency is so much higher with the latter.
A simple test, which confirms your number of 10 times faster:
How can I start mysql automatically on WSL startup?
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 addingsh -c "sudo service mysql start"
at the end of .zshrc or .bashrc file.Thanks!!!!!