MySQL is not working on xampp.
Posted: 14. July 2020 16:36
Hello.
I am using xampp to create a web application. I've tried to use mysql for the first time but it doesn't works.
Xampp says that MySQL is running but when I try to use it ( with the command mysql, or "sudo mysql"), I got this issue : ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Thank you for your help.
I am using xampp to create a web application. I've tried to use mysql for the first time but it doesn't works.
Xampp says that MySQL is running but when I try to use it ( with the command mysql, or "sudo mysql"), I got this issue : ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Thank you for your help.