I'm new to all of this so please be patient and assume I am a novice and need very simple walk throughs.

XAMPP is installed.
http://localhost/xampp/ > Status shows the mySQL is 'DEACTIVATED'

In Terminal:

jono:~ Jono$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (2)
I found a way to locate the mysql socket :

jono:~ Jono$ locate mysql | grep sock
Then I tried to connect the actual path with where it actually is.
This didn't work.

ln -s /Applications/XAMPP/xamppfiles/include/mysql/psi/mysql_socket.h /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
ln: /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock: Permission denied
jono:~ Jono$ sudo chmod -R 777 /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
chmod: /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock: No such file or directory
jono:~ Jono$ sudo chmod -R 777 /Applications/XAMPP/xamppfiles/include/mysql/psi/mysql_socket.h
Please can someone help