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 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]