Do not create mysql wrapper file if directory does not exists