3 messages in com.mysql.lists.win32Re: Errors on running Perl CGI script...
FromSent OnAttachments
Robert Kerry20 May 2005 13:48 
Daniel da Veiga20 May 2005 14:14 
Leigh Sharpe22 May 2005 16:01 
Subject:Re: Errors on running Perl CGI scripts on Tomcat
From:Leigh Sharpe (lsha@pacificwireless.com.au)
Date:05/22/2005 04:01:39 PM
List:com.mysql.lists.win32

Sounds like apermissions issue. Can you caonnect to the MySQL server via localhost? Post your connect line so we can have a look at it, it might give us a clue.

I know this has been asked for millions of time, but I searched google for the entire day but did not get an answer, instead I found millions of ppl who have the same problem as I am. The problem is simple: 1. The same code runs well on command line 2. When Running on Tomcat, the html file gives such error: Software error: Can't connect to MySQL database: Can't create TCP/IP socket (10106) 3. OS is Windows XP 4. I am pretty sure that Tomcat, Perl interpreter, MySQL runs well seperately.

I don't know what to do and since it is a joint question of 3 softwares, I'm gonna send it to the three maillist and see finally if anybody could give correct answers to it. Thanks

Regards, Robert.