added check to my.cnf testing