derek has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (database programming)
I am trying to use MySQL through Perl (but this has also
happened doing other things). I can print before I connect,
but afterwards it won't print. I cann't be sure if it is
connecting or not because I can't get any print out to see.
Below, I get print 1 and 2, but not 3. Is this Perl or
some server problem?
#!/usr/bin/perl print "Content-type: text/html\n\n"; print "OK 1"; use DBI; print "OK 2"; $dbh = DBI->connect("DBI:mysql... $dbh->disconnect(); print "OK 3";
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How can I see error messages from MySQL?⭐
by BBQ (Curate) on Jul 10, 2000 at 09:59 UTC | |
Re: How can I see error messages from MySQL?⭐
by autark (Friar) on Jul 10, 2000 at 04:27 UTC | |
Re: How can I see error messages from MySQL?⭐
by btrott (Parson) on Jul 10, 2000 at 10:28 UTC | |
Re: How can I see error messages from MySQL?
by PsychoSpunk (Hermit) on Jul 12, 2000 at 20:20 UTC | |
Re: How can I see error messages from MySQL?
by pmas (Hermit) on Jul 27, 2001 at 20:39 UTC | |
Re: How can I see error messages from MySQL?
by pmas (Hermit) on Jul 27, 2001 at 20:38 UTC | |
Re: How can I see error messages from MySQL?
by pmas (Hermit) on Jul 27, 2001 at 20:39 UTC |
Back to
Seekers of Perl Wisdom