mysql change root password

Q. How do I change MySQL server root password under Linux / UNIX operating system at shell prompt? A. You need to mysqladmin command which is a client for performing administrative operations. You can use it to check the server’s configuration and current status, to create and drop databases, change mysql root password and more. […]