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

mysql command line password option failing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.30
    • 5.5.31
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.