admin/ August 3, 2016/ Linux/ 1 comments

How to reset mysql root user password ?

If you forgot root password of MySql Server. This post gonna help you to reset root user password.

Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal.

There are few steps below-:

Step-1: Stop Mysql Server

Step-2: Start the mysqld configuration.

Step-3: Login to MySQL as root.

Step-4: Use the below query to reset your password. Replace NewPassword with your new password.

Congratulations you have changed root password of mysql server.

Gotechnies Sysadmin Blog


Rating: 4.8
Votes: 375
Reviews: 350

1 Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.