I’m trying to install MySQL server on Ubuntu 16.04 using:
sudo apt-get install mysql-server
I get asked to set and confirm root password and then the install hangs at:
Renaming removed key_buffer and myisam-recover options (if present)
I’ve exited the install and purged MySQL and tried again, but the issue persists.
Best Answer
Same problem, found fix at https://omgdebugging.com/2016/09/04/fixing-hung-up-mysql-installation-on-ubuntu-16-04-lts/. I ran (as root)
(sleep 200; killall mysqld)&
then immediatelyapt-get install -y mysql-server mysql-client
in my provisioning script.