http://qs321.pair.com?node_id=1053494


in reply to Re^3: Using DB->connect for mysql db without password
in thread Using DB->connect for mysql db without password

Yes, I tried. It didn't worked....
  • Comment on Re^4: Using DB->connect for mysql db without password

Replies are listed 'Best First'.
Re^5: Using DB->connect for mysql db without password
by poj (Abbot) on Sep 11, 2013 at 13:50 UTC
    Using '' (or undef) works for me
    #!perl use strict; use DBI; my $dbh = DBI->connect('DBI:mysql:test:localhost','','') or die $DBI::errstr; print $dbh->tables;
    poj