I recently needed to access my MySQL database (that I installed with XAMPP) through Terminal. Here’s how to do it in Yosemite:

1. Make sure that MySQL Database is running! 48 more words