How to change the root password for mySql under Linux in the command line?
|
|
|
|
|
Question: How to change the root password for mySql under Linux in the command line? Answer: You will need to know the current root password in order to change it In the command line type in and execute the following command mysqladmin -u root -pOLD_PASSWORD password NEW_PASSWORD Replace OLD_PASSWORD with your old password and NEW_PASSWORD with your new password.
|