type
status
date
slug
summary
tags
category
icon
password
1. repo mysql 引入以及升级
2. resource 查看
3. 安装mysql8
4. 设置密码
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2Fd7bdea8e-3017-4202-a14c-e4b0b4f23444%2F08b8d61b-16c7-4766-8edc-db530ac0e018%2FUntitled.png?table=block&id=4ecf368f-0307-463d-8907-7c5336a5a5d5&t=4ecf368f-0307-463d-8907-7c5336a5a5d5&width=721&cache=v2)
必须先修改‘root’@’localhost’
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2Fd7bdea8e-3017-4202-a14c-e4b0b4f23444%2Fa39edad6-d6ed-4df2-9cc2-917ab86752b7%2FUntitled.png?table=block&id=d0a28950-85e2-4759-8f04-fb2b3b667a79&t=d0a28950-85e2-4759-8f04-fb2b3b667a79&width=721&cache=v2)
此时需要修改配置文件,更改绑定的IP host。
For a busy MySQL 8 server, you need to set up max open file settings using systemd(压力大的MySQL服务上)
方式1
方式2
修改完之后,systemctl daemon-reload && systemctl restart mysql