I've always used MAMP or XAMPP to install MYSQL so it's been fairly straightforward. The only most I've had to do is create a symbolic link.
I'm now starting to learn Django and I would like to start a new. I uninstalled XAMPP and downloaded MYSQL from dev.mysql.com (64 bit) but I have no idea where it installed it to! I went to the command line and typed "mysql" and received the message "command not found".
Where is MYSQL installed on Mac OSX Lion?
Thanks.
Best Answer
From: http://dev.mysql.com/doc/refman/5.0/en/macosx-installation.html
It's probably not added to your
$PATH
, thus why the commands aren't visible in the terminal. Try typingecho $PATH
on your terminal to see if/usr/local/mysql/bin
is included in the path.Additionally, on the terminal, you can type
which mysql
. If that returns nothing your environment is not finding your MySQL binary.