The RHEL AS4 server had an active RHN membership so installing MySQL server was a quick and easy. Here are the commands:
# up2date –install mysql-server
# /sbin/service mysqld start
# mysqladmin -u root password “my_root_password”
# mysqladmin -u root -h localhost -p password “my_root_password”
The last command will prompt for a password. Enter the value for “my_root_password”.
And that’s all there was to it!