launchd doesn't launch mysql

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

launchd doesn't launch mysql

Postby zargnut » 06. April 2011 04:31

Hi,

I followed the instructions listed for using lingon to install a launch daemon to start xampp....

I executed the command /Applications/XAMPP/xamppfiles/xampp start
Set it as a user daemon
Set it to run every startup
Rebooted machine.

Apache started fine, MySQL did not. I executed the command from a terminal prompt and got this response:

Code: Select all
$ /Applications/XAMPP/xamppfiles/xampp start
Starting XAMPP for Mac OS X 1.7.3...
You need to be root to perform this action.
$


Is there any way to change permissions so it starts using the launch daemon. The command works with sudo, but is there another way? Even when I click the XAMPP controls button to start the server, I have to enter the admin password.

thanks
dan
zargnut
 
Posts: 1
Joined: 06. April 2011 04:24

Re: launchd doesn't launch mysql

Postby ralf.krause » 20. April 2011 13:07

Hi Dan,

you can launch XAMPP at system start of Mac OS X. In this case Apache and MySQL will run all the time and no user must start XAMPP himself. No admin password is needed for this.
Please look at the script viewtopic.php?f=29&t=42595&p=167672

Ralf
ralf.krause
 
Posts: 26
Joined: 26. January 2009 11:10
XAMPP Version: 1.8.3-1
Operating System: OS X 10.8.2


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 5 guests