-
help using mysql
hey all,
i need to write an aplication in C that connects a mysql database.
I want to try compile it both on windows and linux (debian)...
do i only need the mysql.h file and thats it?
From what i read i think i need to install a developer library...
the mysql manual says that the C connector is distributed with mysql... i checkd on mysql folder and i didnt found it...
can anybody tell me the standard procedure?
thx in advance
-
> From what i read i think i need to install a developer library...
Yes, you need some libraries as well if you want to produce an executable file.
-
ok... so where can i download those libraries for windows?
-
Same place as you got the mysql.h probably.
-
i dont know where to get it from... they say in the mysql manual that its distributed with mysql but in fact is not :(
-
For Linux environment, the required libraries are provided by the source package of MySQL application (libmysqclient.a for example) As I know the RPM package does not include the libraries and I don't know any idea about the .DEB package!
For Windows environment, I also could not find the required libraries :( (but did not make a good search actually!)