LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2012, 01:11 PM   #1
pradiptart
Member
 
Registered: Sep 2007
Posts: 102

Rep: Reputation: 12
how to create a data source for odbc..


Hi,
I have odbc in my linux system .I am writing a C program to access the mysql database.so,inside that we have to mention the data source name .my doubt is how to create a data source in linux.

kindly tell this.

Thanks
 
Old 06-19-2012, 01:31 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
here you can find some tips to start with: https://wiki.archlinux.org/index.php/Odbc








__________________________________
Happy with solution ... mark as SOLVED
If someone helps you, or you approve of what's posted, click the "Add to Reputation" button, on the left of the post.
 
1 members found this post helpful.
Old 06-19-2012, 06:14 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You can use odbc or straight C; see docs here https://dev.mysql.com/doc/refman/5.1...tors-apis.html
 
1 members found this post helpful.
Old 06-20-2012, 04:32 AM   #4
pradiptart
Member
 
Registered: Sep 2007
Posts: 102

Original Poster
Rep: Reputation: 12
Hi pan64,
Thanks for the link ,it is really helpful.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to allow each user can create its own data base? px87 Linux - Server 2 02-07-2012 11:11 PM
LXer: White House to open source Data.gov as open government data platform LXer Syndicated Linux News 0 12-06-2011 05:40 AM
Ms Access odbc configartion but data not connceted chowdary Linux - Server 3 11-07-2011 10:18 AM
how create a data source in tomcat 6 that points to mysql sawgata Linux - Newbie 5 06-01-2010 10:07 AM
Create a hash with any data Nerox Programming 3 07-31-2004 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration