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

mysql_upgrade / mariadb-upgrade in 10.6.6 is putting password in host argument

    XMLWordPrintable

Details

    Description

      I upgraded from 10.6.5 (?) to 10.6.6 via package manager and whenever I run the mysql_upgrade command, it appears the password is being put into the host argument/field.

      # ./mariadb-upgrade -h localhost -u root -p
      Enter password:
      Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
      ERROR 2005 (HY000): Unknown server host 'thisisapassword' (-2)
      FATAL ERROR: Upgrade failed
      # ./mysql_upgrade -h localhost -u root -p
      Enter password:
      Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
      ERROR 2005 (HY000): Unknown server host 'thisisapassword' (-2)
      FATAL ERROR: Upgrade failed
      

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              ocabj Jonathan Ocab
              Votes:
              0 Vote for this issue
              Watchers:
              12 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.