Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4330

mysql command line password option failing

    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).

        Attachments

          Activity

            People

            • Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              phxchris Chris Daley
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: