Thread overview
db question
Feb 14, 2004
Felipe Valdez
Feb 14, 2004
Sean Kelly
Feb 14, 2004
C
Feb 14, 2004
Sean Kelly
February 14, 2004
hi guys, here is a simple question for the experts:

how easy would it be for the D programming language to comunicate
with mysql?, is that possible?, does that work now?
how can I do that? (im not asking for code here, just simple directives on wich
libraries to use or what to do, this isnt a homework or anything, im just
courious)



February 14, 2004
Check out the MySQL website, there is at least one API for it available there.  Also, I'm pretty sure ODBC works with MySQL, in which case you could use the API that ships with VC++.


Sean

February 14, 2004
Hmm, I didnt find any D wrappers on the MySql site.  Your best bet is to read over the C to D part of the manual, and convert the mysql headers ( the straight C api ).  I never use ODBC but i'm interested on how to use it for D.

C


"Sean Kelly" <sean@ffwd.cx> wrote in message news:c0lvgp$18r4$1@digitaldaemon.com...
> Check out the MySQL website, there is at least one API for it available there.  Also, I'm pretty sure ODBC works with MySQL, in which case you could use the API that ships with VC++.
>
>
> Sean
>


February 14, 2004
C wrote:
>
> Hmm, I didnt find any D wrappers on the MySql site.  Your best bet is to
> read over the C to D part of the manual, and convert the mysql headers ( the
> straight C api ).  I never use ODBC but i'm interested on how to use it for
> D.

Oops, this is what I meant.  You'll have to convert the headers yourself.  It shouldn't be too painful.


Sean