http://www.perlmonks.org?node_id=1053487


in reply to Using DB->connect for mysql db without password

If you are the one to create the database, why don't you just set a user and password?