<?xml version="1.0" encoding="windows-1252"?>
<node id="21734" title="How can I see error messages from MySQL?" created="2000-07-10 00:03:44" updated="2005-08-15 09:47:26">
<type id="1857">
categorized question</type>
<author id="11732">
QandAEditors</author>
<data>
<field name="doctext">
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?
&lt;code&gt;
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "OK 1";
use DBI;
print "OK 2";
$dbh = DBI-&gt;connect("DBI:mysql...
$dbh-&gt;disconnect();
print "OK 3";
&lt;/code&gt;</field>
<field name="parent_node">
1831</field>
</data>
</node>
