Re: [Q] DBI connect with MySQL

2001-03-01 Thread Gerald L. Clark
Your Apache must be configured to support perl cgi scripts. Is it? What is in the Apache error log? [EMAIL PROTECTED] wrote: > > Hi,gurus, > I am a novice at MySQL. When I try to run a sample program in the book of > "MySQL & mSQL" I get a error message from my apache server as follows, > *

Re: [Q] DBI connect with MySQL(SOLVED)

2001-03-01 Thread wen
Okay, I get it. The problem comes from the statement below, wen> $db = param('test') or die("Could not find database!"); After I revised it to "my $db = "test" or die("Could not find database!");" I get expected result. Thanks for your consideration. Regards, --Wen [EMAIL PROTECTED] -

Re: [Q] DBI connect with MySQL

2001-03-01 Thread wen
iii> You will get errors like these if your script does not print out a header iii> before spitting out other information. It is usually best to print the iii> header in the very beginning of the script so you do not have to worry about iii> it. You dont have to wait until you are about to print o

Re: [Q] DBI connect with MySQL

2001-03-01 Thread ryc
You will get errors like these if your script does not print out a header before spitting out other information. It is usually best to print the header in the very beginning of the script so you do not have to worry about it. You dont have to wait until you are about to print out some html. $outp

[Q] DBI connect with MySQL

2001-03-01 Thread wen
Hi,gurus, I am a novice at MySQL. When I try to run a sample program in the book of "MySQL & mSQL" I get a error message from my apache server as follows, * Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please

[Q] DBI connect with MySQL

2001-03-01 Thread wen
Hi,gurus, I am a novice at MySQL. When I try to run a sample program in the book of "MySQL & mSQL" I get a error message from my apache server as follows, * Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please