This still affects Bionic, but it also still is of super low importance.
As even if we would change the default path it would look for, by default slow 
queries are not enabled.
They have to be enabled in /etc/mysql/mysql.conf.d/mysqld.cnf first, otherwise 
we will just get the same error, but with a different path.

Also it is no hardcoded path, it is just falling back to
"my_print_defaults mysqld" and derives it from --datadir (unless
specified).

So what could be changed, I don#t think we want to change that.
So after all the time nothing happened by prio-super-low lets be honest it is 
fine as it is.

If anything I would wonder that IF slowlog is enabled then I'd expect the code 
to find e.g.
  --slow_query_log_file=/var/log/mysql/mysql-slow.log
But it does not.

So if one wants to debug the perl and check why with an enabled slow log
it does not auto-use the path it finds in there - that is the bug that
could be looked at.

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

Title:
  mysqldumpslow looking for slow.log file on an incorrect directory

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to