I am trying to use C API to connect my C code to my SQL. I was wondering if anyone has any good beginner resources so I can get up to speed. All I am trying to do is just store data in tables I made in SQL. If it helps I am using MySQL on my Mac. Thank you!
C API use to connect C & SQL database
680 views Asked by Emmett Ogiony At
2
There are 2 answers
1
On
The link below has some simple example how to use C API to interact with MySQL.
http://dev.mysql.com/doc/refman/5.0/en/mysql-real-connect.html
You can find a good MySQL tutorial here: MySQL C API programming tutorial
Here is the official documentation: