CentOS 6 - Install MySQL for Database Server

Print
Category: Centos 6

[root@www ~]#

yum -y install mysql-server

[root@www ~]#

/etc/rc.d/init.d/mysqld start 

Set root password for MySQL :

/usr/bin/mysqladmin -u root password 'new-password'

Autoconfiguration process : 

/usr/bin/mysql_secure_installation and answer the questions

To make the MySQL start automatically at every reboot, issue this command:

chkconfig mysqld on 

Buy cheap web hosting service where fatcow web hosting review will give you advices and please read bluehost review for more hosting information.
Free Joomla Templates designed by Web Hosting Top