fix my.cnf and .bashrc