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

mysql lets me login even if i press CTRL-C

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.0.0, 5.5.28a, 5.3.11
    • Fix Version/s: 5.5.30
    • Component/s: None
    • Labels:
    • Environment:
      5.5, windows xp

      Description

      1) I invoke mysql with an ampty -p parameter
      2) I write the password, but I DONT press enter
      3) I press ctrl-c
      4) I'm logged in, as if I pressed enter

      This does not happen always - it depends how I invoke mysql. However, using the default Icon in the Win's start menu, this happens.

      Example:

      C:\Programmi\MariaDB 5.5\bin>mysql "--defaults-file=C:\Programmi\MariaDB 5.5\dat
      a\my.ini" -uroot -p
      Enter password: *****
      Welcome to the MariaDB monitor. Commands end with ; or \g.
      Your MariaDB connection id is 7
      Server version: 5.5.25-MariaDB mariadb.org binary distribution

      This software comes with ABSOLUTELY NO WARRANTY. This is free software,
      and you are welcome to modify and redistribute it under the GPL v2 license

      Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

      MariaDB [(none)]>

        Attachments

          Activity

            People

            • Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              f_razzoli Federico Razzoli
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: