http://www.perlmonks.org?node_id=165515


in reply to Re: Problems with MySQL - "No Database Selected"
in thread Problems with MySQL - "No Database Selected"

I did this and it flagged an SQL syntax error: Did I add it to the right spot?
$sth = $dbh->prepare("CONNECT default; SELECT section, content FROM we +bdata WHERE section=home")