![howto install mysql on mac high sierra howto install mysql on mac high sierra](https://media.cheatography.com/storage/thumb/earth2becky_lamp-on-osx-high-sierra.750.jpg)
For info on how to do this see Use Visual Studio Code for PHP Development or Use GitHub Atom Editor for PHP Development.
![howto install mysql on mac high sierra howto install mysql on mac high sierra](https://i.stack.imgur.com/nNye5.png)
I tried to change the MYSQL brew library installed from mysql-connector-c to mysql, as other article suggested, but both of them raise error, with the one shown being displayed while mysql was installed, and mysql-connector-c unistalled.Because PHP is already installed you can use the PHP Built-in Web Server for local development and then there is no need for a complex Apache setup. usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.6/_mysql.o -L/usr/local/Cellar/mysql/8.0.11/lib -lmysqlclient -lssl -lcrypto -o build/lib.macosx-10.6-intel-3.6/_Ĭlang: error: linker command failed with exit code 1 (use -v to see invocation)Įrror: command '/usr/bin/clang' failed with exit status 1Ĭommand "/Users/mymac/Documents/chatbot_web_project/virtualenv/bin/python3 -u -c "import setuptools, tokenize _file_='/private/var/folders/v0/64wkf9q11kn9lg6w1fbcw_dw0000gn/T/pip-install-da0w8w2v/mysqlclient/setup.py' f=getattr(tokenize, 'open', open)(_file_) code=f.read().replace('\r\n', '\n') f.close() exec(compile(code, _file_, 'exec'))" install -record /private/var/folders/v0/64wkf9q11kn9lg6w1fbcw_dw0000gn/T/pip-record-wirofbuy/install-record.txt -single-version-externally-managed -compile -install-headers /Users/mymac/Documents/chatbot_web_project/virtualenv/include/site/python3.6/mysqlclient" failed with error code 1 in /private/var/folders/v0/64wkf9q11kn9lg6w1fbcw_dw0000gn/T/pip-install-da0w8w2v/mysqlclient/ usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -Dversion_info=(1,3,13,'final',0) -D_version_=1.3.13 -I/usr/local/Cellar/mysql/8.0.11/include/mysql -I/Users/mymac/Documents/chatbot_web_project/virtualenv/include -I/Library/Frameworks/amework/Versions/3.6/include/python3.6m -c _mysql.c -o build/temp.macosx-10.6-intel-3.6/_mysql.o errorĬomplete output from command /Users/mymac/Documents/chatbot_web_project/virtualenv/bin/python3 -u -c "import setuptools, tokenize _file_='/private/var/folders/v0/64wkf9q11kn9lg6w1fbcw_dw0000gn/T/pip-install-da0w8w2v/mysqlclient/setup.py' f=getattr(tokenize, 'open', open)(_file_) code=f.read().replace('\r\n', '\n') f.close() exec(compile(code, _file_, 'exec'))" install -record /private/var/folders/v0/64wkf9q11kn9lg6w1fbcw_dw0000gn/T/pip-record-wirofbuy/install-record.txt -single-version-externally-managed -compile -install-headers /Users/mymac/Documents/chatbot_web_project/virtualenv/include/site/python3.6/mysqlclient:Ĭopying _mysql_exceptions.py -> build/lib.macosx-10.6-intel-3.6Ĭreating build/lib.macosx-10.6-intel-3.6/MySQLdbĬopying MySQLdb/_init_.py -> build/lib.macosx-10.6-intel-3.6/MySQLdbĬopying MySQLdb/compat.py -> build/lib.macosx-10.6-intel-3.6/MySQLdbĬopying MySQLdb/connections.py -> build/lib.macosx-10.6-intel-3.6/MySQLdbĬopying MySQLdb/converters.py -> build/lib.macosx-10.6-intel-3.6/MySQLdbĬopying MySQLdb/cursors.py -> build/lib.macosx-10.6-intel-3.6/MySQLdbĬopying MySQLdb/release.py -> build/lib.macosx-10.6-intel-3.6/MySQLdbĬopying MySQLdb/times.py -> build/lib.macosx-10.6-intel-3.6/MySQLdbĬreating build/lib.macosx-10.6-intel-3.6/MySQLdb/constantsĬopying MySQLdb/constants/_init_.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constantsĬopying MySQLdb/constants/CLIENT.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constantsĬopying MySQLdb/constants/CR.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constantsĬopying MySQLdb/constants/ER.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constantsĬopying MySQLdb/constants/FIELD_TYPE.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constantsĬopying MySQLdb/constants/FLAG.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constantsĬopying MySQLdb/constants/REFRESH.py -> build/lib.macosx-10.6-intel-3.6/MySQLdb/constantsĬreating build/temp.macosx-10.6-intel-3.6 Running setup.py install for mysqlclient.
![howto install mysql on mac high sierra howto install mysql on mac high sierra](https://vinodpandey.com/images/img_5b99ca1769077.png)
Installing collected packages: mysqlclient This is the code version of the error displayed: Collecting mysqlclient The error that is displayed when I try to install mysqlclient is this one: I tried all the solutions proposed by other Stack Overflow questions related to the title, but my problem seems to be a bit more specific.