Corrected the handling of MySQL port, should fix #86