Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

libmysqlclient15-dev on macs?

Does OSX need an install of libmysqlclient15-dev? I'm trying to compile a gem that is failing and a lot of sources says to install "libmysqlclient15-dev" but I only see this for Linux, not OSX. Am I missing something here?

like image 933
maccy1 Avatar asked Dec 07 '09 04:12

maccy1


2 Answers

brew install mysql fixed this for me

like image 183
Peter Ehrlich Avatar answered Sep 21 '22 17:09

Peter Ehrlich


I know this is old, but google got me here. So let's say the solution in 2018 for python3 on OSX.

brew install mysql-client echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' >> ~/.bash_profile source ~/.bash_profile pip install mysqlclient

like image 40
edilio Avatar answered Sep 19 '22 17:09

edilio