- Notifications
You must be signed in to change notification settings - Fork2
khanakia/mysql-connector-cpp-macos
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
There are 2 ways of doing that first using mysql.h file or using mysql connector
You can check demo1.cpp file which is using mysql.hSTEPS ARE:
By Default g++ uses clang compiler which comes with Xcode which is not a genuine compiler so you need to reinstall to have genuine compiler for g++You can check version with g++ --version
- Install macports using brew
- sudo port selfupdate
- sudo port install gcc46
- sudo port select --set gcc mp-gcc46
- Now check again gcc --version it should Say (gcc (MacPorts gcc46 4.6.4_11) 4.6.4) ...
..................
Read full article herehttps://medium.com/@khanakia/how-to-connect-to-mysql-using-c-in-mac-osx-17e1ada42ccd
About
Connecting Mysql with C++ Connector in MacOSx
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published