I'm using mysql and mysqldump and I'm using MAMP.
I have to put --socket=/Applications/MAMP/tmp/mysql/mysql.sock in every CLA mysql commands
How can I use mysql command in CLI without using that boring line (--socket=/Applications/MAMP/tmp/mysql/mysql.sock) ?
Ho yes, I'm on OSX.
Thanks to read me