First, login to your server using ssh as administrator privileges and apply the following command: /usr/bin/mysqladmin -u root password ‘your-new-password’ “your-new-password” is the new required password for root mysql username. follow this command to test the new password you created: /usr/bin/mysql -u root -p Enter password: