diff --git a/README.md b/README.md index cd91383d..080d5fda 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You may need to install the Python and MySQL development headers and libraries l * `sudo apt-get install python-dev default-libmysqlclient-dev` # Debian / Ubuntu * `sudo yum install python-devel mysql-devel` # Red Hat / CentOS -* `brew install mysql-connector-c` # macOS (Homebrew) (Currently, it has bug. See below) +* `brew install mysql-client` # macOS (Homebrew) On Windows, there are binary wheels you can install without MySQLConnector/C or MSVC. @@ -25,33 +25,6 @@ On Windows, there are binary wheels you can install without MySQLConnector/C or `sudo yum install python3-devel ` # Red Hat / CentOS -#### **Note about bug of MySQL Connector/C on macOS** - -See also: https://bugs.mysql.com/bug.php?id=86971 - -Versions of MySQL Connector/C may have incorrect default configuration options that cause compilation errors when `mysqlclient-python` is installed. (As of November 2017, this is known to be true for homebrew's `mysql-connector-c` and [official package](https://dev.mysql.com/downloads/connector/c/)) - -Modification of `mysql_config` resolves these issues as follows. - -Change - -``` -# on macOS, on or about line 112: -# Create options -libs="-L$pkglibdir" -libs="$libs -l " -``` - -to - -``` -# Create options -libs="-L$pkglibdir" -libs="$libs -lmysqlclient -lssl -lcrypto" -``` - -An improper ssl configuration may also create issues; see, e.g, `brew info openssl` for details on macOS. - ### Install from PyPI `pip install mysqlclient`