Last active
October 13, 2015 09:28
-
-
Save rajraj/4174722 to your computer and use it in GitHub Desktop.
CentOS: Installing MySQL Database with YUM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo yum -y update | |
$ sudo yum -y install mysql-server mysql-devel | |
$ sudo /etc/init.d/mysqld start | |
$ sudo /usr/bin/mysql_secure_installation | |
# To auto-start on boot: | |
sudo /sbin/chkconfig --level 2345 mysqld on | |
# Check if the above worked by executing the following command: | |
/sbin/chkconfig --list | grep mysqld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment