Skip to content

Instantly share code, notes, and snippets.

@addiedx44
Forked from handerson/mysqlfix.sh
Created September 4, 2013 02:22

Revisions

  1. Heath Anderson revised this gist Jun 25, 2012. 2 changed files with 7 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions mysql client
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    #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
    7 changes: 7 additions & 0 deletions mysqlfix.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #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
  2. Heath Anderson revised this gist Mar 27, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mysql client
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    #MySQL Client
    ln -s /Application/MySQL\ Workbench.app/Contents/Resources/mysql /usr/bin/mysql
    ln -s /Applications/MySQLWorkbench.app/Contents/Resources/mysql /usr/bin/mysql
    #MySQL Dump
    ln -s /Application/MySQL\ Workbench.app/Contents/Resources/mysqldump /usr/bin/mysqldump
    ln -s /Applications/MySQLWorkbench.app/Contents/Resources/mysqldump /usr/bin/mysqldump
  3. David Long revised this gist Feb 1, 2011. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions mysql client
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
    #MySQL Client
    ln -s /Application/MySQL\ Workbench.app/Contents/Resources/mysql /usr/bin/mysql
    #MySQL Dump
    ln -s /Application/MySQL\ Workbench.app/Contents/Resources/mysqldump /usr/bin/mysqldump
  4. David Long created this gist Feb 1, 2011.
    2 changes: 2 additions & 0 deletions mysql client
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    ln -s /Application/MySQL\ Workbench.app/Contents/Resources/mysql /usr/bin/mysql
    ln -s /Application/MySQL\ Workbench.app/Contents/Resources/mysqldump /usr/bin/mysqldump