Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 3rd, 2005, 5:48 PM   #1
some1
Programmer
 
Join Date: Dec 2004
Posts: 50
Rep Power: 4 some1 is on a distinguished road
Whats ODBC?

So I`m still looking a way to use mysql in my app and I found a C++ api for mysql called MySQL++. So, now I have ppl suggesting me to use MySQL++ and others ODBC. Whats the difference and what are pros and cons?

Thanks
some1 is offline   Reply With Quote
Old Apr 3rd, 2005, 7:52 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
If you know how to use MySQL, I suggest going with that rather than learning something new - it takes less time.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 3rd, 2005, 8:34 PM   #3
Donald Ferrone
Newbie
 
Donald Ferrone's Avatar
 
Join Date: Mar 2005
Posts: 19
Rep Power: 0 Donald Ferrone is on a distinguished road
Send a message via MSN to Donald Ferrone
Objective/Dynamic Borland Convention

A new way to program completely.
Donald Ferrone is offline   Reply With Quote
Old Apr 4th, 2005, 7:30 AM   #4
some1
Programmer
 
Join Date: Dec 2004
Posts: 50
Rep Power: 4 some1 is on a distinguished road
Quote:
Originally Posted by Donald Ferrone
Objective/Dynamic Borland Convention

A new way to program completely.
I thought it was Open Data Base Connectivity

So any help on what i need to use ODBC with mysql?
some1 is offline   Reply With Quote
Old Apr 5th, 2005, 8:17 PM   #5
some1
Programmer
 
Join Date: Dec 2004
Posts: 50
Rep Power: 4 some1 is on a distinguished road
If I`ll choose to use MySQL, am I bound to the MySQL++ or is there anything else I could use? (like some native MySQL api?)
some1 is offline   Reply With Quote
Old Apr 6th, 2005, 10:33 AM   #6
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
Objective/Dynamic Borland Convention?
<cough>Bullshit</cough>
uman is offline   Reply With Quote
Old Apr 6th, 2005, 11:00 AM   #7
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
ODBC = Open Data Base Connectivity

Everything you need is here:
http://dev.mysql.com/downloads

You could also go with the ByteFX driver I think... I know it works in C# but not sure about C++.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Apr 6th, 2005, 2:29 PM   #8
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
Actually ODBC is a realy useful system as opposed to using proprietary libraries and classes such as those thta mySQL provides.

And the reason being is that ODBC provides a complete database abstraction layer, as long as you have a driver for it, you can use pretty much any database system without having to make extensive changes to your program code.

I am curretnly working on a project which uses mySQL through ODBC, and I have to say I like the way it works.
__________________
Clifford Matthew Roche &lt;geek@cliffordroche.com&gt;
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Old Apr 6th, 2005, 6:58 PM   #9
some1
Programmer
 
Join Date: Dec 2004
Posts: 50
Rep Power: 4 some1 is on a distinguished road
Talking

Quote:
Originally Posted by kurifu
I am curretnly working on a project which uses mySQL through ODBC, and I have to say I like the way it works.
so I hope you also have a link to a tutorial?

EDIT: Are there any DLLs to be distributed with my app if I use ODBC or do they come with every installation of windows?

Last edited by some1; Apr 6th, 2005 at 7:05 PM.
some1 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:55 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC