Public bug reported:

The mysqld.cnf file includes a commented out line for  log_slow_queries
= /var/log/mysql/mysql-slow.log

As it turns out, log_slow_queries was deprecated long ago and it now
causes MySQL 5.7 to fail to start/restart if it exists. The current
variable/option is slow_query_log_file. By including this deprecated
variable/option, users are going to get failures to restart that are not
even printed to the MySQL log file. I did not find ANY log of what
happened, only that MySQL failed to start. I believe this justifies
updating mysqld.cnf with the current option so other users don't go
through the frustration that I just experienced.

For me, this is running on a clean install of Ubuntu 16.04 LTS with the
default xenial package install for mysql (which is 5.7). I installed it
via "apt-get install".

** Affects: mysql-5.7 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  MySQL 5.7 on Xenial ships w/mysqld.cnf that causes crash

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

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

Reply via email to