- Switch the repositories:
shell> sudo yum-config-manager --disable mysql57-communityshell> sudo yum-config-manager --enable mysql80-community
- Verify that mysql80-community is enabled:
shell> sudo yum repolist all | grep mysql8mysql80-community/x86_64 MySQL 8.0 Community Server enabled: 16mysql80-community-source MySQL 8.0 Community Server disabled
- Run the yum update:
shell> sudo yum update mysql-server