MySQL is not working on xampp.

Problems with the Linux version of XAMPP, questions, comments, and anything related.

MySQL is not working on xampp.

Postby auloma » 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.
auloma
 
Posts: 1
Joined: 14. July 2020 16:30
XAMPP version: 7.4.3-0
Operating System: Ubuntu

Re: MySQL is not working on xampp.

Postby Nobbie » 14. July 2020 21:03

Ó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.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 68 guests