Reputation: 681
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.
Upvotes: 1
Views: 170
Reputation: 181
I have no experience on iOS, but the basic steps apply to linux may be helpful to you.
Upvotes: 0
Reputation: 11896
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
Upvotes: 1