MySQL Server Installation On Centos7
For live example please visit our youtube channel https://youtu.be/Kneb93gSoRg
MySQL server is most popular database management system widely used with opensource applications. In this article we discuss about MySQL server installation in Linux (CentOS7).
Note - All commands are tested with Centos7 platform.
Step 1 - wget installation. You can use command wget to download from command line.
"yum install wget"
Step 2 - Download mysql-server repository using below command
Step 3 - Install mysql repository
rpm -ivh mysql-community-release-el7-5.noarch.rpm
Step 4 - Mysql-Server installation
yum install mysql-server
Step 5 - After successful installation start / stop / restart / status service using,
systemctl start mysqld
systemctl stop mysqld
systemctl restart mysqld
systemctl status mysqld
Step 6 - Configure Mysql server security using
mysql_secure_installation
Using above command you can set mysql root password and basic security settings.
So you successfully install MySQL server on CentOS7.
Any doubts feel free to post commands.
Muchas gracias, me fue de mucha utilidad.
ReplyDeleteDe nada
Delete