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

FR: Throw a warning if password line in cnf file contains hash character (#)

    XMLWordPrintable

Details

    Description

      When I have a # character in my password, and try to use a .cnf file for auto login, the parser seems to strip all characters after the hash in the cnf file.
      I believe it's some kind of "comment stripper" in the code that's the culprit.
      Since the # char is perfectly valid for passwords everywhere else (working in php, entered on command line, etc), the mysql client should at least yield a warning when finding a comment char in a password in some cnf file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            scifibob Robert Voje
            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.