installing mySQL from the cli

mysql

Installing mySQL from the command line couldn’t be easier. Installing from root would ensure that everything will be in place.


yum groupinstall "MySQL Database"
/usr/bin/mysql_install_db --user=mysql
service mysqld start
/usr/bin/mysql_secure_installation
chkconfig mysqld on

Leave a Reply

Your email address will not be published. Required fields are marked *