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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.2
    • Fix Version/s: N/A
    • Component/s: Galera SST
    • Labels:
      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

              Assignee:
              sachin.setiya.007 Sachin Setiya
              Reporter:
              anikitin Andrii Nikitin (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: