Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
I have installed
mysql-server on Ubuntu 20.04 then I tried to sign into
sudo mysql -u root but I have got
Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I don't know what does that mean. I am using Windows Subsystem for Linux (WSL) Ubuntu 20.04.