Re: DBI problem

2001-05-18 Thread David Simmons - EliteUKServe.Net
that is because you are calling a script using cgi from the command prompt. that's really a question for a perl/cgi group. cgi's are intended to be run from the web. i think you can just press Ctrl+D (or Ctrl+Z - can't remember which) when you get that prompt to continue. - Original Mess

RE: DBI problem

2001-05-18 Thread DEVOS BASTIEN
try connect with a minimal script, like this (I didn't try it) : #!/usr/bin/perl -w use strict; use CGI; use DBI; my $dbh; print "something before connect"; $dbh = DBI->connect("DBI:mysql:$database", "$username", "$password") or die "Couldn't connect to database: " . $dbh->errstr; print "somet