Post History
I have installed mysql-server on Ubuntu 20.04 then I tried to sign into mysql-server using sudo mysql -u root but I have got Error: Can't connect to local MySQL server through socket '/var/run/mys...
#2: Post edited
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 `mysql-server` using `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 do not know what does that mean & I am using Windows Subsystem for Linux (WSL) Ubuntu 20.04.
- I have installed `mysql-server` on Ubuntu 20.04 then I tried to sign into `mysql-server` using `sudo mysql -u root` but I have got
- ```plain
- 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.
#1: Initial revision
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 `mysql-server` using `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 do not know what does that mean & I am using Windows Subsystem for Linux (WSL) Ubuntu 20.04.