Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: Using DB->connect for mysql db without password

by angeloulivieri (Initiate)
on Sep 11, 2013 at 13:31 UTC ( #1053494=note: print w/ replies, xml ) Need Help??

Comment on Re^4: Using DB->connect for mysql db without password
Re^5: Using DB->connect for mysql db without password
by poj (Priest) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-12-25 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls