I want to make sure that sudo apt-get upgrade
does not upgrade mysql 5.7.22 to the latest mysql GA 8.0. Last time I ran this command mysql 5.7.20 was upgrading to mysql 5.7.22 automatically, which was ok but if it upgrades to mysql 8.x, the production applications will stop working.
What command to execute to disable auto upgrade of mysql while keeping every other package on auto upgrade list.