I downloaded mysql in my windows system and I download it too to my visual studio I connect my visual studio with wsl with my ubunto 20.4 when I try to run mysql with sudo mysql
I got this:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
and when I run with mysql -u root -p
I got this:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)
when I stop mysql and start it again I got this:
su: Authentication failure
and I am sure the password is correct what's the problem?
I connect my visual studio with wsl with my ubuntu 20.4 when I try to run mysql with sudo mysql I got this:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
and when I run with mysql -u root -p
I got this:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)
when I stop mysql and start it again I got this:
su: Authentication failure
and I am sure the password is correct.