Skip to content

Instantly share code, notes, and snippets.

@handerson
Forked from davejlong/mysql client
Created March 27, 2012 16:52
  • Star 22 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save handerson/2217860 to your computer and use it in GitHub Desktop.
How to setup the MySQL client and MySQLDump client on Mac OS x from MySQL Workbench
#MySQL Client
ln -s /Applications/MySQLWorkbench.app/Contents/Resources/mysql /usr/bin/mysql
#MySQL Dump
ln -s /Applications/MySQLWorkbench.app/Contents/Resources/mysqldump /usr/bin/mysqldump
#How to fix the "Library not loaded: libmysqlclient.18.dylib (LoadError)" error
sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib
@totomz
Copy link

totomz commented Feb 5, 2018

Updated to MySQLWorkbench 6.3 and newer osx

#MySQL Client
ln -s /Applications/MySQLWorkbench.app/Contents/MacOS/mysql /usr/bin/mysql
#MySQL Dump
ln -s /Applications/MySQLWorkbench.app/Contents/MacOS/mysqldump /usr/local/bin/mysqldump

@dieisonbeck
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment