How do I install command line MySQL client on mac?

hch picture hch · Jun 22, 2015 · Viewed 172.2k times · Source

I want to install the MySQL client for the command line, not a GUI. I have searched over the web but only found instructions on installing the MySQL server.

Answer

user1659189 picture user1659189 · Jul 8, 2015

install MySQLWorkbench, then

export PATH=$PATH:/Applications/MySQLWorkbench.app/Contents/MacOS