Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2.6
-
debian 9 (stretch) x64 , vmware guest , packages installed from apt repository , version of packages : 10.2.6+maria~stretch ; galera-3 25.3.20-stretch
Description
when using mysqldump as sst method it fails with error
"this operation requires MySQL client version 10 or newer"
This happens because on line 59 of /usr/bin/wsrep_sst_mysqldump we have a check :
"if ! $MYSQL_CLIENT --version | grep 'Distrib 10.1' >/dev/null"
but the client is 10.2 so it doesnt match the grep expression ,
here is the output of mysqlclient --version :
mysql --version
mysql Ver 15.1 Distrib 10.2.6-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
a possible fix could be to change the condition to
"if ! $MYSQL_CLIENT --version | grep 'Distrib 10.' >/dev/null"
so that every 10. version is accepted
Attachments
Issue Links
- is duplicated by
-
MDEV-13283 mysqldump sst fails "this operation requires MySQL client version 10 or newer"
- Closed