LinuxMoz

Linux Stuff && Coffee

CentOS Install MySQL Server

| Comments

The following tutorial explains how to install MySQL on CentOS 6 using the YUM package manager, these instructions should also work with CentOS 4 & 5. CentOS install MySQL via YUM

Enter the following command to install the MySQL Server and client RPM’s via YUM:

1
yum install mysql-server mysql

Start MySQL on CentOS:

1
/etc/init.d/mysqld start

Add MySQL to start at boot type the following

1
chkconfig mysqld on

MySQL will now be installed and running on your CentOS server, don’t forget to set the MySQL root password !

Comments