I have OSX Lion, which comes with Postgres, but I’d rather us MySQL. But either way, I’m pretty lost. How would I go about interfacing C with MySQL, so I can just #include “mysql.h” (or maybe some other library) and go from there. Assume that all I’ve done so far is download the latest MySQL version.
Thank you.
I have OSX Lion, which comes with Postgres, but I’d rather us MySQL. But
Share
You are on the right track, just include the headers and link against the client libraries. Documentation for the C API is here: http://dev.mysql.com/doc/refman/5.1/en/c.html