Changing the MySQL password

Please follow the command below to set your password for the first time for MySQL:-

# mysqladmin -u root password YOURPASSWORD

We can change the root password through the command below :-

# mysqladmin -u root -p'oldpassword' password 'yournewpassword'

Vimal Tuesday 20 August 2013 - 09:07 am | | Default
Used tags: , , ,

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.