

Other names may be trademarks of their respective Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Mysqladmin Ver 8.42 Distrib 5.5.28, for Linux on i686Ĭopyright (c) 2000, 2012, Oracle and/or its affiliates. The following command shows MySQL version along with the current running status. How to Check which MySQL version I am running? To find out whether MySQL server is up and running, use the following command. mysqladmin -u root -p 123456 password ' xyz123' 3. For example, say your old password is 123456 and you want to change it with new password say xyz123. If you would like to change or update MySQL root password, then you need to type the following command. # mysqladmin -u root password YOURNEWPASSWORD 2. To set MySQL password for root user, use the following command. If you have fresh installation of MySQL server, then it doesn’t required any password to connect it as root user.

Installation of MySQL 5.5.28 Server on RHEL/CentOS/Fedora.If you don’t have MySQL server installed or you are using older version of MySQL server, then we recommend you all to install or update your version by following our below article. You must have MySQL server installed on your system to perform these tasks.

In this article we’ve compiled some very useful ‘ mysqladmin‘ commands that are used by system/database administrators in their day-to-day work. Mysqladmin is a command-line utility the comes with MySQL server and it is used by Database Administrators to perform some basic MySQL tasks easily such as setting root password, changing root password, monitoring mysql processes, reloading privileges, checking server status etc.
