Bug #44929 Cannot input more than 80 length password via tty
Submitted: 18 May 2009 10:51
Reporter: Mikiya Okuno Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:any OS:Any
Assigned to: CPU Architecture:Any

[18 May 2009 10:51] Mikiya Okuno
Description:
When logging in to the server using mysql CLI, and -p option is specified without following option, we cannot input more than 80 characters. The limitation is due to the following code found in client/get_password.c:

char *get_tty_password(const char *opt_message)
{
  char to[80];

How to repeat:
n/a

Suggested fix:
Increase the length of the character.