MySQL 5.7 in Centos 7
Step 1 - Update System
yum updateStep 2 - Added Repository MySQL
yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
yum update -yStep 3 - Install MySQL
yum install mysql-community-serverStep 4 - Check Status
systemctl start mysqld
systemctl status mysqld$ systemctl start mysqld
$ systemctl status mysqld
● mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2019-12-01 14:57:30 EST; 7s ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 13133 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=0/SUCCESS)
Process: 13084 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
Main PID: 13136 (mysqld)
CGroup: /system.slice/mysqld.service
└─13136 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
Dec 01 14:57:27 db-test systemd[1]: Starting MySQL Server...
Dec 01 14:57:30 db-test systemd[1]: Started MySQL Server.Step 5 - Secure MySQL Installation
Get MySQL Temporary Password
Secure MySQL
Step 6 - Testing
Last updated