Fix bug to handle empty mysql password