Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

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


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 (Parson) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2016-12-10 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (162 votes). Check out past polls.