Actually use services.mysql.port

Fixes #1315

(cherry picked from commit 26d03000c250d0286c31becdf773f78adacf49ac)