It is located in /root/.my.cnf
/root/.my.cnf
This is truly a horrible idea and a security flaw and on top of that MySQL port 3306 is wide open by default with CPanel.
cpanel, mysql, password, findit, located, cnf, flaw, default,