An error is output when checking the mariadb status with the

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

An error is output when checking the mariadb status with the

Postby luffy1025 » 17. July 2019 16:51

Operating System: Ubuntu 18.04 64bit
Xampp Version: 7.3.1-0

Summary:
I used the mysql command in cmd to check mariadb status on Ubuntu.

However, I get such an error message in cmd.

ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")

1. Is mysql the correct command to check mariadb status?

2. How can I fix the error?
luffy1025
 
Posts: 8
Joined: 10. July 2019 11:16
XAMPP version: 7.3.7
Operating System: windows

Re: An error is output when checking the mariadb status with

Postby Nobbie » 17. July 2019 18:50

Obviously, there is already another MySQL installation on your Linux PC. If you enter "mysql" in a terminal, you do NOT trigger Xampps MySQL (MariaDB), but instead the MySQL installation of your distribution. If you like to use Xampp instead, open the the Software Manager of your Ubuntu Linux and de-install MySQL. It collides with Xampps MySQL/MariaDB.

P.S.: Why did you apply "Operating System: windows" into your profile, dont you run Linux (Ubuntu) instead? What is the idea of that nonsense?
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 33 guests