Login as the mysql user and connect to the mysql user/permission database: # su -l mysql # mysql -u root mysql
Run the following two queries: mysql> UPDATE user SET Password=PASSWORD('newrootpassword') WHERE User='root'; mysql> FLUSH PRIVILEGES;
replacing newrootpassword with the new root password to the box with the MySQL server.