How to install MySQL
- Install MySQL
yum install mysql-server mysql php-mysql
How to configure MySQL
- Set the MySQL service to start on boot
chkconfig –levels 235 mysqld on - Start the MySQL service
service mysqld start - Log into MySQL
mysql -u root - Set the root user password for all local domains
mysqladmin -u root password NEWPASSWORD - Exit MySQL
exit