Package: mytop
Version: 1.4-1
Severity: minor

The manpage for mytop (`man mytop`) lists an option "-prompt" to "Specify if
you want to be prompted to type in your database password." When using the
command as described, it is interpreted as the "-p" option with "rompt" as a
following argument. The correct flag is "--prompt", which exhibits the
expected behavior. The man page should be updated to reflect the option is
"--prompt" instead of "-prompt".

Here is a transcript:

$ mytop -prompt
Cannot connect to MySQL server. Please check the:

  * database you specified "test" (default is "test")
  * username you specified "root" (default is "root")
  * password you specified "rompt" (default is "")
  * hostname you specified "localhost" (default is "localhost")
  * port you specified "3306" (default is 3306)
  * socket you specified "" (default is "")

The options my be specified on the command-line or in a ~/.mytop
config file. See the manual (perldoc mytop) for details.

Here's the exact error from DBI. It might help you debug:

Access denied for user 'root'@'localhost' (using password: YES)

$ mytop --prompt
Password:
MySQL on localhost (5.0.32-Debian_3-log)               up 8+00:09:40
[09:09:26]
 Queries: 171.0  qps:    0 Slow:     0.0         Se/In/Up/De(%):
00/00/00/00
[...]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to