Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-16-2003, 09:01 AM   #1
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.
Old 07-16-2003, 09:53 AM   #2
Registered: Mar 2003
Location: Frederick, MD
Distribution: Dux Linux 1 / Gentoo 1.4
Posts: 77

Rep: Reputation: 15
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, 02:55 AM   #3
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, 09:03 AM   #4
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.


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

All times are GMT -5. The time now is 08:37 AM.

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