Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Changing mysql root password

Quote Reply
Changing mysql root password
Could anyone give me step-by-step instructions for changing the mysql password via telnet? I'm on a dedicated Linux server, Redhat 6.2.

Jason
Quote Reply
Re: [wickedmoon] Changing mysql root password In reply to
Just telnet/ssh in, and type:
mysqladmin -u root -p password 'new-password'
It'll prompt you for your old password, then it'll set the new password to new-password (note, you do need the quotes)
You also might have to type the whole path to mysqladmin (depending on your setup).

Adrian
Quote Reply
Re: [brewt] Changing mysql root password In reply to
Thanks Adrian, that did the trick.

Jason