Using SSH

1. Log in to the mysql> prompt using:

mysql -u [dbUsername] -p[dbPassword] -h[dbHost] [databaseName]

2. You should now see that your command prompt now looks like:

mysql>

3. Enter the command:

UPDATE admin_user SET password = MD5('OurNewPassword') WHERE username = 'testuser';

4. Hit Enter on your keyboard and you are done.

Advertisements