At 8:57 -0500 11/28/06, Ronald Vincent Vazquez wrote:
Hello Nishant:

I was able to code a simple client which inserts/deletes data into the
database after reading this:

http://www.kitebird.com/mysql-book/ch06-3ed.pdf
Sample chapter (Chapter 6: The MySQL C API) from MySQL by Paul DuBois

Good luck,
RV

And the sample code discussed in the chapter is available in the
sampdb distribution (for links to the distribution, see
http://www.kitebird.com/mysql-book/).



On Tue, November 28, 2006 02:08, Nishant Gupta wrote:
 Hello all

 Sorry to disturb you, but am trying to start using MySql on Linux using
 C/C++. All the sample programs I found are merely compilable but crash
 while
 running. Can anyone post a simple program to insert a record in a table in
 a
 database? One more thing i needed to know that do we need to run
 mysqld_safe
 command while running a mysql program in C/C++??????


 Thanks in advance n sorry for the inconvinience!



/////////////////////////////////////////////////
Ronald Vincent Vazquez
Senior Unix Systems Administrator
Senior Network Manager
Christ Tabernacle Church Ministries
http://www.ctcministries.org
(301) 540-9394 Home
(240) 401-9192 Cell

For web hosting solutions, please visit:
http://www.spherenix.com/


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


--
Paul DuBois, MySQL Documentation Team
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to