Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

by moritz (Cardinal)
on Sep 11, 2013 at 19:27 UTC ( #1053554=note: print w/replies, xml ) Need Help??

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

What software are you using, exactly? You don't seem to call DBI->connect, but rather a connect method on a different object. What kind of object is it?

Usually connecting to mysql without user name and without password only works if you don't specify a host name either (not even localhost), then local domain sockets are used, and the identity of the system user is used.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2016-10-24 20:44 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.