Page 1 of 1

MySQL is not working on xampp.

PostPosted: 14. July 2020 16:36
by auloma
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.

Re: MySQL is not working on xampp.

PostPosted: 14. July 2020 21:03
by Nobbie
Ă“bviously, you already have installed a MySQL instance in your Linux distributions. This collides with the Xampp installation, you cannot run two MySQL installations. That is the reason of your problems.