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

LP:683112 - Maria 5.2 incorrectly reports "(using password: NO)" even when password is specified

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Maria 5.2 incorrectly reports "(using password: NO)" on unsuccessfull connection attempts, even if password was specified. Maria 5.1 and mysql 5.1 are not affected.

      To repeat:

      cd mysql-test
      MTR_VERSION=1 perl mysql-test-run.pl --start-and-exit 1st

      mysql -ufoo --protocol=tcp --port=9306 -pbar

      ERROR 1045 (28000): Access denied for user 'foo'@'localhost' (using password: NO)

      The message comes from the server. The issue is also reproducible without the mysql client by using a connector.

      Such a regression would cause issues for people trying to debug authentication failures. It also causes various PHP connector tests to fail.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            philipstoev Philip Stoev added a comment -

            Re: Maria 5.2 incorrectly reports "(using password: NO)" even when password is specified
            I recall this was actually fixed. A grep of the bzr history would be required to confirm.

            Show
            philipstoev Philip Stoev added a comment - Re: Maria 5.2 incorrectly reports "(using password: NO)" even when password is specified I recall this was actually fixed. A grep of the bzr history would be required to confirm.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 683112

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 683112

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: