Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to retrieve a set of data from database and can someone share the code for retrieving data... and i am going to run the code in ubuntu.
Posted

1 solution

well, given you havnt told us which breed/type of database you have/want to retrieve data from, we can only take a wild guess

a) download the appropriate Linux driver for the database - eg, for MySQL, start here http://dev.mysql.com/downloads/connector/c/[^] (there are RedHat, FreeBSD & SUSE drivers available as well)

b) Install driver/connector package

c) play with the samples - MySQL usually has some examples showing how to do the basics


d) write code for your own situation
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900