views:

91

answers:

1

Can someone please help as i've spent all day trying to fix this. I installed the latest XAMPP and now i can't connect to mysql from terminal.I checked my .profile file and the PATH seems ok. Does anyone know whats happened and what's the solution?

PATH=$PATH:/Applications/XAMPP/xamppfiles/bin export PATH

THIS IS A PROGRAMMING QUESTION AS I'M A PHP DEVELOPER TRYING TO DO MY JOB!

Thankyou soo much in advance;-)

UPDATE: the solution was to update the .bash_profile with (as well as the .profile file)

PATH=$PATH:/Applications/XAMPP/xamppfiles/bin export PATH

spent the whole day trying to work this out so i hope this helps anyone in the same position ;-) http://www.jroller.com/jnicho02/entry/setting_up_xampp_on_the (GOOD LINK)

A: 

This is a problem with the MySQL daemon. Is it running? Try typing on the command line: ps -u mysql and see if that gives any results.

amphetamachine
@amphetamachine this is the output i got UID PID TTY TIME CMDAny ideas?
Imran
Means it's not running. Still this is more of a serverfault question than a stackoverflow one.
Miguel Ventura