Solved

Database Connection

Posted on 2004-04-26
3
324 Views
Last Modified: 2010-04-01
Hello, I am mainly a java developer (please don't hold it against me) . I have been given the task of modifying a old parsing app which is written in c++. Currently the app parses a file and writes it in a user friendly format. Now I need to modify it, so it inserts the data into mysql and oracle database.

How hard is it to get connection. Any helpful code snippets...links, api's

Any info is appreciated.. thanks
0
Comment
Question by:91mustang
  • 2
3 Comments
 
LVL 1

Expert Comment

by:rminnich
ID: 10921260
It shouldn't be that hard because both of the databases support ODBC (IIRC).  Here are some links for ODBC and MySQL.
http://dev.mysql.com/doc/connector/odbc/en/faq_toc.html
http://dev.mysql.com/doc/
http://dev.mysql.com/doc/connector/odbc/en/manual_toc.html
0
 
LVL 4

Author Comment

by:91mustang
ID: 10924748
any example code?
0
 
LVL 1

Accepted Solution

by:
rminnich earned 50 total points
ID: 10931697
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question