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