Re: access relational database in cocoa program
Re: access relational database in cocoa program
- Subject: Re: access relational database in cocoa program
- From: Jeff Harrell <email@hidden>
- Date: Wed, 11 Jun 2003 08:47:29 -0500
My personal suggestion would be to use the C API that comes with your
database. (I'm a PostgreSQL user, myself, so I don't know from MySQL.)
It's going to be a little more of a pain, but you can be assured that
you'll only have to worry about bugs in two pieces of code: your own
Cocoa code, and your own C code. (I'm making the assumption that the
vendor's C API library is reliable; that may or may not be a sound
assumption here.)
On Tuesday, June 10, 2003, at 10:11 PM, Bill So wrote:
Dear All,
I'd like to access MySQL through Cocoa.
There are a few possible ways, as far as I know:
1. MySQL-Cocoa project in SourceForge
2. ODBC
3. MySQL++
Which way do you suggest me to use? I'd like an easy-to-use way. It
seems that there's very few documentation about the ODBC interface in
Mac OS X.
I found that there are some headers which should be related to ODBC in
my OS X /usr/include. They are sql.h, sqltext.h and sqltypes.h. If I
use these, do they support unicode??? Do you know where I can find
more help on ODBC on Mac OS X???
Thank you very much for your help.
Yours,
Bill
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
--
email@hidden
http://homepage.mac.com/jharrell
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.