sudo tee /etc/apt/sources.list.d/mysql.list <<-'EOF'
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb [arch=amd64] http://repo.mysql.com/apt/ubuntu focal mysql-apt-config
deb [arch=amd64] http://repo.mysql.com/apt/ubuntu focal mysql-8.0
deb [arch=amd64] http://repo.mysql.com/apt/ubuntu focal mysql-tools
deb [arch=amd64] http://repo.mysql.com/apt/ubuntu focal mysql-tools-preview
EOF
Tsinghua University Open Source Software Mirror Station
sudo tee /etc/apt/sources.list.d/mysql.list <<-'EOF'
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/mysql/apt/ubuntu focal mysql-8.0
deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/mysql/apt/ubuntu focal mysql-tools
deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/mysql/apt/ubuntu focal mysql-tools-preview
EOF