update mysql 5.7 to 8 ubuntu code example Example: change mysql version to 5.7 in ubuntu sudo apt install linuxbrew-wrapper brew install mysql@5.7