Bug #683 Prompt doesn't go to stderr on Windows
Submitted: 19 Jun 2003 10:45 Modified: 16 Jul 2003 7:35
Reporter: Paul DuBois Email Updates:
Status: Closed Impact on me:
Category:MySQL Server Severity:S3 (Non-critical)
Version:4 (at least) OS:Windows (Windows)
Assigned to: Bugs System CPU Architecture:Any

[19 Jun 2003 10:45] Paul DuBois
If you execute a client program with the -p option (with
no following password) and the output redirected, the
password prompt goes to the output file, not to the
console. As a result, the user never sees the prompt.

This appears to happen only on Windows.

How to repeat:
This works:

C:\> mysql -p
Enter password: ******

This doesn't:

C:\> mysql -p > junk

(user never sees prompt in second case)
[16 Jul 2003 7:35] Victor Vagin
Thank you for your bug report. This issue has been fixed in the latest
development tree for that product. You can find more information about
accessing our development trees at