XAMPP MySQL Malfunction on Mac OS X

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

XAMPP MySQL Malfunction on Mac OS X

Postby stevenc » 04. December 2018 00:56

Running Mac OS Mojave 10.14.1 with XAMPP for Mac OS X 7.2.5-0

I startup XAMPP through CLI ... All systems are ok

Trying to access my server, I receive MySQL errors. Back to CLI, MySQL Status returns:

Code: Select all
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (61 "Connection refused")


Everything has been working fine for several months now. I received a Mac OS X update overnight, now this error.

Any ideas?
stevenc
 
Posts: 10
Joined: 29. October 2018 00:39
XAMPP version: 7.4.11
Operating System: Mac OS X 10.15.7

Re: XAMPP MySQL Malfunction on Mac OS X

Postby haz » 19. September 2022 03:23

I'm having the same issue in OSX with Monterey , being 100% sure that the server is being reach and the user name is correct I get the 'connection refused' message. Please share solution if solved on your side.
Thanks!
haz
 
Posts: 2
Joined: 16. September 2022 03:22
XAMPP version: 8.1.6-0-vm
Operating System: mac 12.5.1

Re: XAMPP MySQL Malfunction on Mac OS X

Postby JDLH » 20. September 2022 08:29

For what it's worth, I am able to get the `mysql` client to connect to my XAMPP-hosted MariaDB server on macOS 12.6 Monterey. Here is my command line:

Code: Select all
% mysql --user=root --password --host=localhost --socket=/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock my_database_name
JDLH
 
Posts: 23
Joined: 11. September 2022 02:27
XAMPP version: 7.4
Operating System: macOS 12.6


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 22 guests