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

mysqldump sst fails "this operation requires MySQL client version 10 or newer"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.2
    • N/A
    • Galera SST
    • None

    Description

      Trying to attempt 10.2 mysqldump sst triggers an error :

      WSREP_SST: [ERROR] this operation requires MySQL client version 10 or newer (20170710 11:38:06.873)
      2017-07-10 11:38:06 140605822228224 [ERROR] WSREP: Process completed with error: wsrep_sst_mysqldump --host '192.168.1.183' --port '3309' --local-port '3306' --socket '/home/a/spd/m0-10.2.6/dt/my.sock'  --defaults-file '/home/a/spd/m0-10.2.6/my.cnf'  --gtid '6f9b051c-6553-11e7-a99a-870c00169d61:0' --gtid-domain-id '0': 22 (Invalid argument)
      

      Following lines are to blame https://github.com/MariaDB/server/blob/10.2/scripts/wsrep_sst_mysqldump.sh#L59 :

      if ! $MYSQL_CLIENT --version | grep 'Distrib 10.1' >/dev/null
      then
          $MYSQL_CLIENT --version >&2
          wsrep_log_error "this operation requires MySQL client version 10 or newer"
          exit $EINVAL
      fi
      

      Attachments

        Issue Links

          Activity

            People

              sachin.setiya.007 Sachin Setiya (Inactive)
              anikitin Andrii Nikitin (Inactive)
              Votes:
              1 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.