BUGFIX: couldn't access mysql db when password was necessary