Fix an issue when the mysql port is not set, the regex fails to match. Now we default to port 3306.