Trying to make a program with MySql Library
Trying to make a program with MySql Library
Don't know if this answers your problem:
http://forums.mysql.com/read.php?45,102840,104450#msg-104450
i.e.
For the compile error when including <mysql.h>, it seems that you haven't set the include path in Project->Project Options->Directories->Include Directories. In "Include Directories", add the directory where packman installed the mysql headers (on my system is is c:\Dev-Cpp\include\mysql).
To link with the mysql library, you'll need to add -lmysql to the linker parameters in Project->Project Options->Parameters.
Login