How to change MySQL password?
You will need to be familiar with basic UNIX commands in
order to understand the following instructions.
The first step is to login to the Shell server via an SSH client
like PuTTY.
Type the following command and enter your username instead of user.
Then enter your password when it asks:
$ mysql -u user -p
In MySQL prompt, enter the following command and replace NewPassword
with your desired password:
<mysql> set password=password('NewPassword');
Type exit to return to shell prompt.
|