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

Hi!

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:
Error

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 () {
  i=0
  while test $i -ne $service_startup_timeout ; do
    sleep 1
    case "$1" in
      'created')
        test -s $pid_file && i='' && break
        kill -0 $2 || break # if the program goes away, stop waiting <- line 159
        ;;
      'removed')
        test ! -s $pid_file && i='' && break
        ;;
      *)
        echo "wait_for_pid () usage: wait_for_pid created|removed"
        exit 1
        ;;
    esac
    echo $echo_n ".$echo_c"
    i=`expr $i + 1`
  done

  if test -z "$i" ; then
    log_success_msg
    return 0
  else
    log_failure_msg
    return 1
  fi
}


Thanks,
Hugo.[/code]
hugotavares
 
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

kill:(3581)

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

Postby hugotavares » 29. July 2008 21:50

I solved it simply... restarting my Mac! :roll:
hugotavares
 
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?
mdowsett
 
Posts: 1
Joined: 03. October 2008 18:59

Re: MySQL isn't running

Postby abellee87@gmail.com » 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..
abellee87@gmail.com
 
Posts: 3
Joined: 08. February 2009 16:00


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 3 guests