fix port detection in mysql connection definition