i'm trying to upgrade mysql from 5.6 to 5.7 using mysql-apt-config. i've downloaded the deb and trying to install it. but it 'hangs' on

Setting up mysql-apt-config (0.3.2-1ubuntu14.04) ...

and it stays there for hours. nothing happens.

could this be the issue?: https://unix.stackexchange.com/questions/158052/how-to-configure-the-mysql-apt-repo-on-ubuntu-on-a-non-interactive-shell that i'm not getting the selection menu, because i'm installing through SSH


I suffered with the same problem and I found the solution at the link that you mentioned:

export DEBIAN_FRONTEND=noninteractive 
echo mysql-apt-config mysql-apt-config/enable-repo select mysql-5.6 | sudo debconf-set-selections
dpkg --configure -a

Don't forget to check your MySQL Version!

Thanks to you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.