On Thu, Sep 20, 2001 at 01:36:10PM +0800, Luke Chiam wrote:
> 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.
If it's a CGI program, it should be trivial to find the problem--try
running it outside of Apache. Does it work? Try running it as the
same user as Apache runs under. Does it still work?
If so, this really isn't a MySQL problem.
Jeremy
--
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936
MySQL 3.23.41-max: up 14 days, processed 255,480,944 queries (210/sec. avg)
---------------------------------------------------------------------
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