Yes, it should be in the /etc/ folder called my.cnf

Can you not find it?