Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can avoid cpanel changes mysql root password

Discussion in 'General Discussion' started by pendexgabo, Jan 8, 2010.

  1. pendexgabo

    pendexgabo Registered

    Nov 6, 2008
    Likes Received:
    Trophy Points:
    This happened me like twice this week. and I dont like this.

    for several reasons:
    * I loose control of my server, because something is changing this without my permission
    * the new password is stored on the /root/.my.cnf so if someone enters to the server will have full access to the db too.
    * I like my password, not the one that cpanel put.

    how can avoid this?

    there is any setting I can change?

    thank you
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Nov 5, 2008
    Likes Received:
    Trophy Points:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    cPanel/WHM does not automatically change an existing root password; this is an action that would normally only be triggered by human interaction, such as by someone else logging in and performing the change (e.g., a sysadmin that helps server management). To avoid this issue, assuming it was intentionally performed by staff and not accidental, I would consider enforcing business policies to restrict what authorized staff should and should not do.

    It is possible to manually set or reset the root password or MySQL root password via he following areas in WHM:

    WHM: Main >> Server Configuration >> Change Root Password
    Change Root Password

    WHM: Main >> SQL Services >> MySQL Root Password
    MySQL Root Password

Share This Page