moving my.cnf template above grants to fix issue with changing IP