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 to return proper set of header. So I start rereading my lines of code and check for memory leaks and point of failure, but found none. Then I take out all the MySQL access code and wowla! everything is ok. So I start reading up (and cursing MySQL) and found a possible cause at http://www.mysql.com/doc/C/o/Communication_errors.html > > I used to suspect memory leaks but thats has been checked with > > LeakTracer, and passed! > > What about your Apache error log? "Premature end of script headers" Luke --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php