Home Database MySQL Change a MySQL user password

Change a MySQL user password

How do I update a user’s password in my MySQL server?


For the user molly to change her password to TrckTrt, she would run this command from the shell:

mysqladmin -u molly -p password TrckTrt

The mysqladmin program will prompt for the old password.

error: Content is protected !!