Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by poj (Priest)
on Sep 11, 2013 at 13:50 UTC ( #1053500=note: print w/ replies, xml ) Need Help??


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

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


Comment on Re^5: Using DB->connect for mysql db without password
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-09-02 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls