Re: msql client , C++ , compiler ,mysql header files , and mysql client library

2001-10-01 Thread Luke Chiam
> What is required to be installed on webserver (redhat linux i686) as far as > msql client , C++ , compiler ,mysql header files , and mysql client library If you are talking about development in C with MySQL, you will need MySQL-client, MySQL-devel, MySQL-shared. As for C++ I think there is a My

Aborted connection...to db...(Got an error reading communication packets)

2001-09-20 Thread Luke Chiam
Hi, I keep getting "500 Internal Server error" when accessing my database, my application is a C++ development of my own. I used to suspect memory leaks but thats has been checked with LeakTracer, and passed! The problem I think is documented here at http://www.mysql.com/doc/C/o/Communication_e

Re: Update

2001-09-20 Thread Luke Chiam
do a simple script to read, parse and edit then finally update based on c1 Luke - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 20, 2001 11:34 PM Subject: Update > Hello there, > > could you please help to a novice... > > I have table >

Re: C API problems

2001-09-20 Thread Luke Chiam
MYSQL_RES *results1; MYSQL_ROW row; MYSQL DBsession; mysql_init ( &DBsession ); mysql_real_connect ( &DBsession, PRI_HOST_IP, PRI_USER_NAME, PRI_USER_PASSWORD, PRI_DB_NAME, PRI_PORT_NO, "", 0 ); sprintf ( sql, "SELECT filepath FROM filepath WHERE charset = '%s' AND location = '%s'",

Re: Aborted connection XXX to db.... (Got an error reading communication packets)"

2001-09-19 Thread Luke Chiam
Thanks for the reply Jeremy. > > I keep getting "500 Internal Server error" when accessing my > > database, my application is a C++ development of my own. > > Smells like Apache to me. Thats what I thought, but on reading Apache docs & faq, it mentioned that it is probably the cgi script failure

Aborted connection XXX to db.... (Got an error reading communication packets)"

2001-09-19 Thread Luke Chiam
Hi, I keep getting "500 Internal Server error" when accessing my database, my application is a C++ development of my own. I used to suspect memory leaks but thats has been checked with LeakTracer, and passed! The problem I think is documented here at http://www.mysql.com/doc/C/o/Communication_e

Re: Basic details...

2001-09-19 Thread Luke Chiam
Just a point. The limit might be high, but accessing a table as such will not be as quick... if possible, should normalise your data. the whole idea behind RDMS. If this has been done, ignore me :) Luke - Before posting, pleas

Aborted connection XXX to db.... (Got an error reading communication packets)"

2001-09-19 Thread Luke Chiam
Hi, I keep getting "500 Internal Server error" when accessing my database, my application is a C++ development of my own. I used to suspect memory leaks but thats has been checked with LeakTracer, and passed! The problem I think is documented here at http://www.mysql.com/doc/C/o/Communication_e