Home > mysql > How to Change your mysql root user password

How to Change your mysql root user password

This is a quick guid on how to change your mysql root password (I’m using ubuntu here..)

open up a command prompt

type -> mysqladmin -u root -p password ‘root’

where

root – is the root user

password – your new password (its again root in the above example)

and hit enter

it will prompt you to enter your current password (of root)

enter the current password

thats it 🙂

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: