Skip to content

Instantly share code, notes, and snippets.

@samuelleach
Created June 11, 2015 14:36
Show Gist options
  • Save samuelleach/93da08c321587ea2009b to your computer and use it in GitHub Desktop.
Save samuelleach/93da08c321587ea2009b to your computer and use it in GitHub Desktop.
Install JSON UDF for Mac OS 64bit
#via https://github.com/mysqludf/lib_mysqludf_json
#and https://github.com/mysqludf/lib_mysqludf_json/issues/2
git clone git@github.com:mysqludf/lib_mysqludf_json.git
cd lib_mysqludf_json
gcc -v $(/usr/local/bin/mysql_config --cflags) -shared -fPIC -o lib_mysqludf_json.so lib_mysqludf_json.c
sudo ln -s lib_mysqludf_json.so /Applications/XAMPP/xamppfiles/lib/mysql/plugin/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment