Recently installed Ubuntu 16.04 and found that the default configuration file for MySQL has a few wrongly named variables, i.e. system variables whose name has changed over versions.
In the file /etc/mysql/mysql.conf.d/mysqld.cnf
there are the following lines:
table_cache = 64
log_slow_queries = /var/log/mysql/mysql-slow.log
log-queries-not-using-indexes
The current version of MySQL in use requires these to be named:
table_open_cache
slow_query_log_file
log_queries_not_using_indexes
Respectively. Is this a bug in the Ubuntu release or a problem somewhere else? My question is:
Who is to be blamed for this and should a bug report be filed?
At the very least, perhaps some frustrated individual will find this question and get answers.
I downloaded the
mysql-server-5.7
package to test:All three lines were commented out. I'm not sure a commented-out line is a big deal. The package maintainer probably ignores them.