>>
>>
>> i even tried the following :
>>
>>
>> sub some_sub {
>>  $DBH_local = DBI->connect("DBI:mysql::192.168.1.26", "all_user",
>> "all_passwd") || return 0  ;
>>
>>  } ;
>>
>> }
>>
>>
>> but this too doesn't work . gives me the same error "Internal server error "
>>
>> Please help me with this thanks

On Fri, Apr 15, 2011 at 1:52 PM, Doug <d...@hacks.perl.sh> wrote:
> try add these options when new the DBI object:
>
>          PrintError => 0,
>          RaiseError => 0,
>
>



i get the error

 "Timeout waiting for output from CGI script
/var/www/cgi-bin/syncscript.pl, referer:
http://192.168.1.25/cgi-bin/syncscript.pl";


Actually i am trying to connect to a completely different network

sub some_sub {
  $DBH_local = DBI->connect("DBI:mysql::192.168.1.26", "all_user",
"all_passwd") || return 0  ; ## this works fine it throws me return 0

  $DBH_remote  = DBI->connect("DBI:mysql:DB1:10.0.0.4", "all_user",
"all_passwd") || return 2  ; ##  i get the error   "Timeout waiting
for output from CGI script /var/www/cgi-bin/syncscript.pl, referer:
http://192.168.1.25/cgi-bin/syncscript.pl";

  }


i have vpn connection on my linux system with my datacenter ip address
as 10.0.0.x . when i shut down my vpn connection it throws me the
above error .  could this issue be related to do with network .



-- 
Regards
Agnello D'souza

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to