# rpm -Uvh mysql-community-client-5.7.29-1.el7.x86_64.rpm mysql-community-common-5.7.29-1.el7.x86_64.rpm mysql-community-devel-5.7.29-1.el7.x86_64.rpm mysql-community-embedded-5.7.29-1.el7.x86_64.rpm mysql-community-embedded-compat-5.7.29-1.el7.x86_64.rpm mysql-community-embedded-devel-5.7.29-1.el7.x86_64.rpm mysql-community-libs-5.7.29-1.el7.x86_64.rpm mysql-community-libs-compat-5.7.29-1.el7.x86_64.rpm mysql-community-server-5.7.29-1.el7.x86_64.rpm mysql-community-test-5.7.29-1.el7.x86_64.rpm warning: mysql-community-client-5.7.29-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY Preparing... ################################# [100%] Updating / installing... 1:mysql-community-common-5.7.29-1.e################################# [ 10%] 2:mysql-community-libs-5.7.29-1.el7################################# [ 20%] 3:mysql-community-client-5.7.29-1.e################################# [ 30%] 4:mysql-community-server-5.7.29-1.e################################# [ 40%] 5:mysql-community-devel-5.7.29-1.el################################# [ 50%] 6:mysql-community-embedded-5.7.29-1################################# [ 60%] 7:mysql-community-embedded-devel-5.################################# [ 70%] 8:mysql-community-test-5.7.29-1.el7################################# [ 80%] 9:mysql-community-libs-compat-5.7.2################################# [ 90%] 10:mysql-community-embedded-compat-5################################# [100%] # systemctl status mysqld ¡´ mysqld.service - MySQL Server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) Active: inactive (dead) Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html 10:08 # 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 Mon 2020-03-23 10:33:00 HKT; 20min ago Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html Process: 9150 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=0/SUCCESS) Process: 5135 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS) Main PID: 9153 (mysqld) Tasks: 28 CGroup: /system.slice/mysqld.service ¢|¢w9153 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mys... Mar 23 10:07:35 jira87x systemd[1]: Starting MySQL Server... Mar 23 10:33:00 jira87x systemd[1]: Started MySQL Server. *** First time mysqld started by 26 mins as shown above *** *** Then I stopped it and started it again *** # systemctl status mysqld ¡´ mysqld.service - MySQL Server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) Active: inactive (dead) since Mon 2020-03-23 10:57:17 HKT; 2s ago Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html Process: 9150 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=0/SUCCESS) Process: 5135 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS) Main PID: 9153 (code=exited, status=0/SUCCESS) Mar 23 10:07:35 jira87x systemd[1]: Starting MySQL Server... Mar 23 10:33:00 jira87x systemd[1]: Started MySQL Server. Mar 23 10:57:16 jira87x systemd[1]: Stopping MySQL Server... Mar 23 10:57:17 jira87x systemd[1]: Stopped MySQL Server. # systemctl status mysqld ¡´ mysqld.service - MySQL Server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2020-03-23 11:25:57 HKT; 7min ago Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html Process: 14911 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=0/SUCCESS) Process: 11501 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS) Main PID: 14914 (mysqld) Tasks: 27 CGroup: /system.slice/mysqld.service ¢|¢w14914 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid Mar 23 10:57:38 jira87x systemd[1]: Starting MySQL Server... Mar 23 11:25:57 jira87x systemd[1]: Started MySQL Server. *** Second time mysqld started by 28 mins as shown above *** # mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.29 Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> *** END ***