MDL-25910 add support for custom mysql socket location