Not sure your case works if there are no password supplied (on my dev environment, there is no need for a password to connect to the database).