http://qs321.pair.com?node_id=1053492


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

Have you tried using undef or '' for the username and/or password?