PB with the MySQL C API

Belaran

Registered
Hi !

I would like to create a C applications working with MySQL database.
I downloaded the Ch api for iODBC provided by MySQL.com but somehow it doesn't seems to work out...
I can invoke ch ( i've to use the "sudo" command although) but when i try to compile one of the sample example of the package :

ld: Undefined symbols:
_SQLAllocHandle
_SQLError
_SQLFreeHandle
_SQLSetConnectAttr
_SQLSetEnvAttr

It seems that iODBC package isn't installed !

My questions are :
-Why did i do wrong ?
-MySQL says that C API are provided with the MySQL server, so how can we use it ?

Belaran

PS : I'm using a iMac G3 with 10.3 (panther).



:mad:
 
Back
Top