LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2003, 10:01 AM   #1
Yitzhak
LQ Newbie
 
Registered: Jul 2003
Location: UK
Posts: 2

Rep: Reputation: 0
MySQL programming


New to MySQL I'm looking for a sample program in C using Linux that preforms all the basic needs.
Thanks.
 
Old 07-16-2003, 10:53 AM   #2
oubipaws
Member
 
Registered: Mar 2003
Location: Frederick, MD
Distribution: Dux Linux 1 / Gentoo 1.4
Posts: 77

Rep: Reputation: 15
http://www.cpp-home.com/tutorial.php?22_1
Thats how to do it in windows... Not sure of how to do it in linux.

I don't know if you know PHP, but it connects to SQL and you can write SQL scripts for php to run if you need to
 
Old 07-17-2003, 03:55 AM   #3
Yitzhak
LQ Newbie
 
Registered: Jul 2003
Location: UK
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the info, I'm using PHP already but need to use MySQL under Linux......
 
Old 07-17-2003, 10:03 AM   #4
Rumblefish
Member
 
Registered: Jun 2003
Location: Delaware
Distribution: Redhat 7.0, 7.2, 8.0, 9.0, FreeBSD 4.6.2
Posts: 51

Rep: Reputation: 15
Try searching on Google, I'm sure there are numerous C samples. Also, you can download the source code for MySQL Control Center (MySQL's official DB management application) from the Products section of their Web site.

The MySQL manual also contains an overview of all the C functions available.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 03:13 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
MySQL Programming in C pulikondarajesh Programming 1 07-05-2004 02:53 PM
MySQL Programming in C pulikondarajesh Programming 1 05-25-2004 09:02 AM
MySQL + ODBC + C programming qusestion sleepymish Programming 0 01-13-2004 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:34 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