MySQL client program on Mac

from the Artful MySQL Tips List


Open the terminal, then ...
/usr/local/mysql/bin/mysql -uroot -pYOURPSWD 
If that fails, Mac's default folder SSD Directory has a space in its name so bash won't find it, so use Finder to find your /usr/local/mysql file, then click & drag into the Terminal command line, prefix it with 'cd ', follow it with ' pYOURPSWD'. Or ... http://www.gigoblog.com/2011/03/13/add-mysql-to-terminal-shell-in-mac-os-x/

Last updated 16 Aug 2019


Return to the Artful MySQL Tips page