YUM-based systems

  1. Switch the repositories:
shell> sudo yum-config-manager --disable mysql57-communityshell> sudo yum-config-manager --enable mysql80-community
  1. 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
  1. Run the yum update:
shell> sudo yum update mysql-server

Get MySQL 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.