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