Comment 2 for bug 1740390

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Marco,
here from your log:
ERROR: Unable to start MySQL server:
2017-12-28T11:20:26.058037Z 0 [ERROR] unknown variable 'log_slow_queries=/var/log/mysql/mysql-slow.log'
2017-12-28T11:20:26.064217Z 0 [ERROR] Aborting
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.

You can find much more data on old [2] into new [1], but the TL;DR is that this config is deprecated and now called slow-query-log. Non custom configs are auto-upgraded, but custom configs need to be handled by the admin.

[1]: https://dev.mysql.com/doc/refman/5.7/en/slow-query-log.html
[2]: https://dev.mysql.com/doc/refman/5.6/en/server-options.html#option_mysqld_log-slow-queries