Where is MYSQL installed on Mac?



1. Installed using binaries or dmg:

It will be found in /usr/local/mysql if you use the mysql binaries or dmg to install it on your system instead of using MAMP

The installation layout is similar to that of a tar file binary distribution;

All MySQL binaries are located in the directory /usr/local/mysql/bin.

The MySQL socket file is created as /tmp/mysql.sock by default.


2. MySQL version of MAMP: To check MySQL version of MAMP , use the following command in Terminal:

/Applications/MAMP/Library/bin/mysql --version

Assume you have started MAMP .

Example output:

./mysql  Ver 14.14 Distrib 5.1.44, for apple-darwin8.11.1 (i386) using  EditLine wrapper