Fix for direct access to MySQL DB when MySQL port is not default