/usr/share/mysql/mysql-systemd-start contains: pinger () { while /bin/true ; do sleep 1 mysqladmin ping >/dev/null 2>&1 && break done }
So if mysql failed to come up, this will hang forever. However, I think mysql failed to start because it couldn't read some config file. I saw that message somewhere back in history. "service mysql start" also hangs: poll_s S+ pts/12 0:00 | | \_ sudo service mysql start poll_s S+ pts/12 0:00 | | \_ systemctl start mysql.service poll_s S+ pts/12 0:00 | | \_ /bin/systemd-tty-ask-password-agent --watch poll_s Sl+ pts/12 0:00 | | \_ /usr/bin/pkttyagent --notify-fd 5 --fallback But it isn't asking me for a password. Argh. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435080 Title: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435080/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs