[Chicago-talk] perl DBI error

Richard Reina richard at rushlogistics.com
Tue Apr 2 10:51:16 PDT 2013

use DBI;
my $dbh = DBI->connect( "DBI:mysql:rushload;", $usrr, $passw, { RaiseError => 3 } );
my $dbs = $dbh->selectcol_arrayref("show databases");

my $dbs = $dbh->selectcol_arrayref('show databases');

print "@$dbs\n";

When I query the server for a list of databases with the code above it returns the name of just two and there are over 10.

Any ideas?

Richard Reina
Rush Logistics, Inc.
Watch our 3 minute movie: 

More information about the Chicago-talk mailing list