Installing MySQL libmysqlclient-dev and UDF files on Mac OSX
Solution 1
try installing mysql-connector-c:
brew install mysql-connector-c
Solution 2
This works for me:
brew install mysql
Ben Carey
For any questions, please feel free to email me at: [email protected]
Updated on June 24, 2022Comments
-
Ben Carey almost 2 years
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
andbrew
... 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/ -
Nico Haase about 5 yearsThis does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
-
Zoe stands with Ukraine about 5 years@NicoHaase This is an answer.
-
Nico Haase about 5 years@Zoe there is no explanation given why that should work, and there is an accepted and upvoted answer - so I'd assume that there is some information missing
-
Zoe stands with Ukraine about 5 years@NicoHaase no explanation to a code-only answer does not warrant flags or review deletion