win 10系统使用 docker 快速搭建 centos 8 的 php7.4 和 mysql 完整开发环境
安装 centos 8, php 8, mysql 8, laravel 8 整套 php 运行环境
安装mysql8.0错误解决
Downloading packages:
warning: /var/cache/yum/x86_64/7/mysql80-community/packages/mysql-community-client-8.0.28-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: mysql-community-client-8.0.28-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
执行:
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
如果还不可以,直接禁掉GPG检查
执行:
yum --enablerepo=mysql80-community install mysql-community-server --nogpgcheck