XAMPP Startup Error on Mac OS X Mojave

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

XAMPP Startup Error on Mac OS X Mojave

Postby stevenc » 29. October 2018 00:43

I am running MacOS Mojave 10.14 with XAMPP 7.2.5

1. Earlier today, I tried to start up XAMPP after a crash/restart. XAMPP Manager was unable to start the MYSQL Server. Apache did start correctly.

2. Figuring there was a potential corruption, I used my Time Machine to restore my XAMPP folder in Applications.

3. Now when I try to rum XAMPP Manager, I get a "Cannot find any readable ctl script" error message.

4. I've tried to run MYSQL Server directly from CLI. I receive the following message:

Code: Select all
./mysql.server: line 200: my_print_defaults: command not found
Starting MariaDB
 ERROR! Couldn't find MariaDB server (/Applications/XAMPP/xamppfiles/bin/mysqld_safe)


Any thoughts on how to resolve these issues?
stevenc
 
Posts: 6
Joined: 29. October 2018 00:39
XAMPP version: 7.2.5
Operating System: Mac OS X 10.14

Re: XAMPP Startup Error on Mac OS X Mojave

Postby stevenc » 29. October 2018 13:38

The issue has to do with a quirk in Time Machine - it does not completely regenerate all recorded folders/files; this must be done manually, in part. A bit of a pain.

I was able to run XAMPP from the command line:

Code: Select all
-> cd /Applications/xampp/xamppfiles
-> sudo ./xampp start


To check on MYSQL status:

Code: Select all
-> mysql status -u [username] -p [password]


To stop XAMPP:

Code: Select all
-> sudo ./xampp stop


Issue resolved
stevenc
 
Posts: 6
Joined: 29. October 2018 00:39
XAMPP version: 7.2.5
Operating System: Mac OS X 10.14


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests