HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   The Perfect Setup - CentOS 5.0. (passsword issue) (http://www.howtoforge.com/forums/showthread.php?t=12176)

cruz 19th April 2007 11:00

The Perfect Setup - CentOS 5.0. (passsword issue)
 
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:

falko 20th April 2007 15:07

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!)


All times are GMT +2. The time now is 16:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.