Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing MySQL libmysqlclient-dev and UDF files on Mac OSX

I am trying to install the following package on my mac in order to test my API on my local environment but thus far I have not succeeded.

https://github.com/spachev/mysql_udf_bundle

I have tried various things such as:

brew install libmysqlclient-dev

This produced the following error:

Error: No available formula with the name "libmysqlclient-dev" 
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

I am used to working on CentOS so am not particularly familiar with the likes of apt and brew... Can anyone advise me on how best to install this on my Mac?

Not sure if it is of any relevance but I am running Mac OSX 10.11.4 (El Capitan).

I did NOT install MySQL using brew install mysql, instead, I followed the instructions here: http://jason.pureconcepts.net/2015/10/install-apache-php-mysql-mac-os-x-el-capitan/

like image 857
Ben Carey Avatar asked May 28 '16 12:05

Ben Carey


1 Answers

try installing mysql-connector-c:

brew install mysql-connector-c
like image 117
juanagui Avatar answered Oct 03 '22 10:10

juanagui