How to install MySQL server on centos

By | August 12, 2017

Login to your server

Install MySQL using yum command on centOS

yum install mysql-server

Once you installed the MySQL server,then you have to start MySQL services using the below command

systemctl start mysqld

Your server has “root” user but MySQL also has its own. It means your server’s root password is not similar as root password for MySQL. Go ahead set a root MySQL password by issuing this command

And then It will also ask several questions.Simply type Y and then click it.

 

 

Category: VPS

Leave a Reply

Your email address will not be published. Required fields are marked *