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]