The Perfect Setup - CentOS 5.0. (passsword issue)

Discussion in 'HOWTO-Related Questions' started by cruz, Apr 19, 2007.

  1. cruz

    cruz New Member

    When I was entering the passwords for mysql I entered two diffrent passwords. I was thinking one was root and one was host. How can I change it to make then both the root password? :confused:
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You can change the MySQL password like this:

    Code:
    mysqladmin -u root -poldpassword password newpassword
    mysqladmin -h server1.example.com -u root -poldpassword password newpassword
    (Please note that there's no space between -p and oldpassword!)
     

Share This Page