Hola viejo;
Esto es lo que tengo, espero que te sirva:
Create Database with MySQL
Compatibility:C, C++ (general), Microsoft Visual C++, UNIX C++
Demonstrates how to use plain C to create a MySQL database, connect to it, create a table with fields, populate the table, execute an SQL query, and print the results. No MFC required - uses only plain C.
ZIP : Create_Dat1576414192003.zip
Nos vemos.