I just started learning PERL and CGI scripting and am a complete newbie. So I sincerely apologize if my problem seems too simple for the guru's.

its been atleast two weeks that I've been trying to install a custom script on my server. The script named install_mysql.cgi - installs a set of mysql tables into the mysql server for the domain name.

The install_msql.cgi -> calls an admin-list.inc file which in turn calls the config file containing the info for mysql, such as dbname, user, password, and host and the iSubs.pm (module) file that aides in the building of the mysql tables.

The problem that I'm facing is rather strange: When I run the install_mysql.cgi from the browser, I get a message saying "The MySQL Database has been setup properly".

But when i refer to my server error log I get the following error messages:

I spent a lot of time researching on the web and the books but I just could not find a solution.

I would really appreciate your expert advice and help on how to resolve this error.

Thanks a lot guys!

Best Wishes, genX_000!

Here is the install_mysql.cgi code:

There is an invalid value for 'id' error repeated in the error logs so I'm thinking this is becuase install_mysql.cgi inserts interger values into the table in quotes. But i tried creating a test table from ssh terminal and inserted interger values into test table in quotes and it worked fine. So I'm not sure what to do. Please guide me.