Allow config and apply sane defaults for mysql