Updated Home (markdown)

Inada Naoki
2019-11-21 18:05:17 +09:00
parent 3515e4cdbc
commit aa8152df04

@ -6,16 +6,14 @@ Make sure mysql server is running :
/usr/local/mysql/bin/mysql -uroot -p /usr/local/mysql/bin/mysql -uroot -p
Exit and then add the following environment variable to your **~/.bash_profile**: Exit and then add the following environment variable to your `~/.bash_profile`:
PATH="/usr/local/opt/mysql-client/bin:$PATH" PATH="/usr/local/opt/mysql-client/bin:$PATH"
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH
Now Now
brew install mysql-connector-c
brew install mysql-client brew install mysql-client
source ~./bash_profile
env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip3 install mysqlclient==1.3.9 env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip3 install mysqlclient==1.3.9
And you are done. And you are done.