Last active
March 8, 2021 10:54
-
-
Save ensean/4dc6c412fdac1755faa33be3b5716089 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
添加opentuna国内源 | |
```shell | |
sudo tee /etc/yum.repos.d/mysql-community.repo<<EOF | |
[mysql-connectors-community] | |
name=MySQL Connectors Community | |
baseurl=https://opentuna.cn/mysql/yum/mysql-connectors-community-el7-aarch64/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql | |
[mysql-tools-community] | |
name=MySQL Tools Community | |
baseurl=https://opentuna.cn/mysql/yum/mysql-tools-community-el7-aarch64/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql | |
[mysql-8.0-community] | |
name=MySQL 8.0 Community Server | |
baseurl=https://opentuna.cn/mysql/yum/mysql-8.0-community-el7-aarch64/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql | |
EOF | |
``` | |
安装mysql客户端 | |
``` | |
sudo yum makecache | |
sudo yum install -y mysql | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment