mysqldumpslow looking for slow.log file on an incorrect directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
In Progress
|
Low
|
Lena Voytek |
Bug Description
when executing mysqldumpslow without arguments, the response I get is:
Can't find '/var/lib/
when it should look for the slow log file at /var/log/
I understand that the tool should be executed with argument pointing to the correct log file location, but if that is the case, then we should also change the response from
Can't find '/var/lib/
to
Missing argument, see --help or man
or something like that
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: mysql-client 5.1.54-1ubuntu4
ProcVersionSign
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Aug 2 05:32:24 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitec
ProcEnviron:
LANGUAGE=en_PH:en
PATH=(custom, user)
LANG=en_PH.UTF-8
SHELL=/bin/bash
SourcePackage: mysql-5.1
UpgradeStatus: No upgrade log present (probably fresh install)
Thanks for reporting this bug. Marking low priority because it has a workaround, but it certainly looks to me like a real bug.