add mycnf support