MySql command prompt on Mac OSX using Xampp

I’m using Xampp on Mac OSX and I can’t work out how to get the MySQL command prompt. Any help?

From a Terminal window type

‘/Applications/xampp/xamppfiles/mamp start’

or if you have already changed to that location type

‘./mamp start’

From there it should just be a case of typing (assuming mysql is in the /xamppfiles/bin/ folder)

‘/Applications/xampp/xamppfiles/bin/mysql -u root -p’

or

‘./mysql -u root -p’ if you have already changed to /Applications/xampp/xamppfiles/bin/

You champion, I’ve been stumped on that for awhile so thanks alot for the tip.