Skip to content

Instantly share code, notes, and snippets.

@rajraj
Last active October 13, 2015 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajraj/4174722 to your computer and use it in GitHub Desktop.
Save rajraj/4174722 to your computer and use it in GitHub Desktop.
CentOS: Installing MySQL Database with YUM
$ 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