Tuesday, July 16, 2013

Install MySQL 5 and set root password

Install with yum

#Yum install mysql mysql-server 


Start Service Mysql

#service mysqld start
#chkconfig --level 235 mysqld on
#service mysqld restart


Set password root and remove anonymus user remove databases test  and reload Privilege

#mysql_secure_installation

Y only hahaha...



No comments:

Post a Comment

VirtualHost HTTP redirect to HTTPS

<VirtualHost *:80>     ServerName www.example.com     Redirect / https://www.example.com/ </VirtualHost> <VirtualHos...