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 reply to Re^3: Using DB->connect for mysql db without password
by moritz
in thread Using DB->connect for mysql db without password
by angeloulivieri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |