Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.5.30
-
Fix Version/s: 5.5.31
-
Component/s: None
-
Labels:None
-
Environment:5.5.30, Windows 7
Description
mysql.exe option to request password on execution no longer working under 5.3.30.
Observed behavior:
C:\Web\db>mysql.exe -u root -p < dbdata.sql
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
(no pause at Enter Password: and command fails)
Expected behavior (true thru 5.5.29):
C:\Web\db>mysql.exe -u root -p < dbdata.sql
Enter password: ******** (pauses, allowing password entry)
(command processes .sql file)
mysql.exe command fails unless noting after -p or include password (-pPASSWORD).
May be related to ctrl-c password field change introduced in 5.3.30 (see MDEV-4021 & Revision #3665).