Proper port locking to avoid inter-process messing with Mysqld