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.
[30 May 0:26] HANCHUN LIU
I submitted a patch for this issue under Bug #92403, which also addresses the tty password length behavior described in this bug.

The contribution is related to Bug #44929, Bug #92403, and Bug #110570.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.