List:General Discussion« Previous MessageNext Message »
From:Richard Reina Date:April 2 2013 5:30pm
Subject:Please Help. selectcol_arrayref problem
View as plain text  
use DBI;
my $dbh = DBI->connect( "DBI:mysql:rushload;192.168.0.1", $usrr, $passw, {
RaiseError => 3 } );
my $dbs = $dbh->selectcol_arrayref("show databases");

#my $dsn = "dbi:mysql:information_schema:192.168.0.1:3306";
#my $dbh = DBI->connect($dsn, $usrr, $passw);

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?

Thanks

Thread
Please Help. selectcol_arrayref problemRichard Reina2 Apr
  • Re: Please Help. selectcol_arrayref problemLarry Martell2 Apr
    • Re: Please Help. selectcol_arrayref problemRichard Reina2 Apr
      • Re: Please Help. selectcol_arrayref problemBenjamin Stillman2 Apr