su: warning: cannot change directory to /nonexistent: No such file or directory
sudo systemctl stop mysql.service
sudo usermod -d /var/lib/mysql/ mysql
sudo systemctl start mysql.service
- common problem in WSL2 installation of MySQL DBMS, mysql user not granted permissions to its home folder