Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
8/2/2006 4:55:55 AM EDT
im working on a small inventory control program for use within the company.
i have a MySQL server on a red hat box and the client im working on will be installed on several windows machines... but i cant get an API that works.. has anyone used C++ and MySQL together? how did you do it?
8/2/2006 5:01:05 AM EDT
[#1]
What compiler are you using to build your C++ program in?

I'm not sure I'll be able to help much in that part. But I have done alot of work building web programs in perl that access MySQL databases.

-Foxxz
8/2/2006 5:12:09 AM EDT
[#2]
Here is the windows mysql connector libraries:
dev.mysql.com/downloads/connector/odbc/3.51.html

This is the documentation for using them:
dev.mysql.com/doc/refman/5.1/en/myodbc-connector.html

It does contain code examples.

This looks more geared for what you want:
tangentsoft.net/mysql++/

Hope this helps.

-Foxxz
8/2/2006 5:19:05 AM EDT
[#3]
i havent been able to compile the mysql++ api due to some version problems and other related bullshit.

im using mingw compiler


thanks for the links
8/2/2006 5:49:45 AM EDT
[#4]
Well, if even the examples aren't compiling then either get another compiler or develope your app in some web language like perl, php, or ruby on the redhat box

-Foxxz
8/2/2006 6:01:07 AM EDT
[#5]
Try GNU C++.