MySQL isn't running

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

MySQL isn't running

Postby hugotavares » 12. May 2008 15:56


I've installed xampp 0.7.2, and now I am having trouble on running MySQL.

Whenever I start all applications (Apache, MySQL, ProFTP, etc.) in a terminal this is what happen:

user:/Applications/xampp/xamppfiles/bin root# ../mampp start
Starting XAMPP for MacOS X 0.7.2...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for MacOS X started.

Everything is ok... then, when I try to access "http://localhost/phpmyadmin/" this is the message that appears on my browser:

MySQL said: Documentation
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

(Not a good thing to happen...!)

And in terminal:
user:/Applications/xampp/xamppfiles/bin root# /Applications/xampp/xamppfiles/bin/mysql.server: line 159: kill: (4548) - No such process

The mysql.server file is the original one, so I don't know what to do. Can anybody help me on this issue?

/** the mysql.server function code **/
Code: Select all
wait_for_pid () {
  while test $i -ne $service_startup_timeout ; do
    sleep 1
    case "$1" in
        test -s $pid_file && i='' && break
        kill -0 $2 || break # if the program goes away, stop waiting <- line 159
        test ! -s $pid_file && i='' && break
        echo "wait_for_pid () usage: wait_for_pid created|removed"
        exit 1
    echo $echo_n ".$echo_c"
    i=`expr $i + 1`

  if test -z "$i" ; then
    return 0
    return 1

Posts: 2
Joined: 12. May 2008 15:49

same problem

Postby hfoolwm » 29. July 2008 21:09

im having the same problem, only instead of kill:(4548) i am getting


what is that in reference to?
Posts: 2
Joined: 29. July 2008 20:55

Postby hugotavares » 29. July 2008 21:50

I solved it simply... restarting my Mac! :roll:
Posts: 2
Joined: 12. May 2008 15:49

Postby mdowsett » 03. October 2008 21:42

I think I'm having the same problem. I tried restarting too and it didn't help.

My XAMPP status page shows MySQL as deactivated. I tried the startmysql command from the command line but that didn't help.

I installed MySQL manually before I tried XAMPP...would that have caused confusion? How can I look to see if it's installed in the right place?
Posts: 1
Joined: 03. October 2008 18:59

Re: MySQL isn't running

Postby » 08. February 2009 16:38

i have the same problem..
but the status page shows everything is ok at the beginning..
just a few moment ago..i saw mysql is not actived...
but i am sure that you installed manually mysql could cause confusion..
you can try to uninstall that...and install the XAMPP again..
Posts: 3
Joined: 08. February 2009 16:00

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 5 guests