Verified:
echo "invalid_mysql_option=foo" >> /etc/mysql/my.cnf.
Then on upgrade it should fail to start and complain - now with a reasonable 
message.
Going from Trusty -> Xenial-Proposed now with aforementioned change in place I 
see:

ERROR: Unable to start MySQL server:
2016-07-20T13:15:02.743028Z 0 [ERROR] unknown variable 'key_buffer=16M'
2016-07-20T13:15:02.746251Z 0 [ERROR] Aborting
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on 
fixing common upgrade issues.

That is one of the old variables (now key_buffer_size) which just reflects what 
would happen on old custom-config.
=> Verified

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1602763

Title:
  postinst does not print a helpful message when the server will fail to
  start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1602763/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to