We have pretty much the same issue with the upstream packages. Filtering the password with printf %q in postinst seems to escape the characters correctly so the password can be passed to the server.
Upstream report: http://bugs.mysql.com/bug.php?id=81958 ** Bug watch added: MySQL Bug System #81958 http://bugs.mysql.com/bug.php?id=81958 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1598992 Title: MySQL Server installation freezes if root password contains a single quote (apostrophe) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1598992/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
