As this isn't a simple fix, and is currently blocking MySQL 5.7 in Ubuntu 16, we will patch MySQL to allow the empty port option for now (it will print a warning instead of the error).
There's also a related upstream bug at http://bugs.mysql.com/bug.php?id=80903 ** Bug watch added: MySQL Bug System #80903 http://bugs.mysql.com/bug.php?id=80903 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563274 Title: dbconfig-mysql sets blank port in config To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dbconfig-common/+bug/1563274/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs