Keep It Simple, Stupid | |
PerlMonks |
Re^3: Using DB->connect for mysql db without passwordby moritz (Cardinal) |
on Sep 11, 2013 at 19:27 UTC ( [id://1053554]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|