...

View Full Version : MySQL and C/C++



mlse
12-10-2006, 06:02 PM
Hi,

Can anyone point me in the direction of some information explaining how to open and close a connection to a MySQL database and submit queries from within C/C++? I know it can be done using system calls, but this is pretty clunky; I'm looking for a better solution (perhaps linking to a shared library that is part of the standard MySQL build, or something like that).

*** Please note that I am not looking for a .NET solution! I have found that, but I don't use .NET, I'm using Red Hat Linux 9.0.

Any info gratefully received.

Thanks,
Mike.

mlse
12-10-2006, 06:20 PM
Hey, I found it!

http://dev.mysql.com/doc/refman/5.1/en/c.html

In case anyone else is interested!

oracleguy
12-10-2006, 06:38 PM
If you want a more OOP based interface, I'd recommend: http://tangentsoft.net/mysql++/

mlse
12-11-2006, 02:18 PM
That's great, thanks! :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum