I found myself in need of loading data into a MySQL instance today for testing an application - lots of it (millions of rows). Unfortunately I don't have a MySQL instance in my home lab (it's pretty much all Windows stuff - and a bit of Mac). So what was the easiest solution?
First I grabbed a copy of the Turnkey MySQL VM from https://www.turnkeylinux.org/ - these guys have a lot of Debian images pre-configured to just unpack, lob into a virtualisation platform and get going. A massive time saver.
After that I installed MySQL on my Yosemite Mac - purely for the command line tool.
The fire up terminal, switch into /usr/local/mysql/bin and fire up mysql command line connecting to my instance:
mysql -h hostname -u root -p
A few quick configuration settings to make things go smoother: