# address : https://dev.mysql.com/downloads/repo/yum/[root@localhost ~]# wget https://dev.mysql.com/get/mysql80-community-release-el7-7.noarch.rpm[root@localhost ~]# rpm -ivh mysql80-community-release-el7-7.noarch.rpm[root@localhost ~]# yum update -y[root@localhost ~]# yum install mysql-community-server -y[root@localhost ~]# systemctl start mysqld[root@localhost ~]# cat /var/log/mysqld.log 2022-11-25T01:18:08.930759Z 0[System][MY-013169][Server] /usr/sbin/mysqld (mysqld 8.0.31) initializing of se
rver in progress as process 113502022-11-25T01:18:08.943396Z 1[System][MY-013576][InnoDB] InnoDB initialization has started.
2022-11-25T01:18:09.768621Z 1[System][MY-013577][InnoDB] InnoDB initialization has ended.
2022-11-25T01:18:12.205355Z 6[Note][MY-010454][Server] A temporary password is generated for root@localhost:
2Z:LO*bq2JTl
2022-11-25T01:18:19.522643Z 0[System][MY-010116][Server] /usr/sbin/mysqld (mysqld 8.0.31) starting as proces
s 114002022-11-25T01:18:19.542422Z 1[System][MY-013576][InnoDB] InnoDB initialization has started.
2022-11-25T01:18:20.417341Z 1[System][MY-013577][InnoDB] InnoDB initialization has ended.
2022-11-25T01:18:21.005942Z 0[Warning][MY-010068][Server] CA certificate ca.pem is self signed.
2022-11-25T01:18:21.006042Z 0[System][MY-013602][Server] Channel mysql_main configured to support TLS. Encry
pted connections are now supported for this channel.
2022-11-25T01:18:21.051832Z 0[System][MY-011323][Server] X Plugin ready for connections. Bind-address: '::'
port: 33060, socket: /var/run/mysqld/mysqlx.sock
2022-11-25T01:18:21.053998Z 0[System][MY-010931][Server] /usr/sbin/mysqld: ready for connections. Version: '
8.0.31' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server - GPL.
[root@localhost ~]# mysql -uroot -p2Z:LO*bq2JTl
mysql> alter user root@localhost identified by 'root@39doo.com';
mysql> quit