diff --git a/plugins/mysql-apt/index_mysql_apt.py b/plugins/mysql-apt/index_mysql_apt.py index 54414ce26..529215111 100644 --- a/plugins/mysql-apt/index_mysql_apt.py +++ b/plugins/mysql-apt/index_mysql_apt.py @@ -78,7 +78,7 @@ def binLogListLook(args): line = args['line'] data_dir = getDataDir() - my_bin = getServerDir() + '/bin/usr/bin' + my_bin = getServerDir() + '/bin' my_binlog_cmd = my_bin + '/mysqlbinlog' cmd = my_binlog_cmd + ' --no-defaults ' + \ @@ -99,7 +99,7 @@ def binLogListLookDecode(args): line = args['line'] data_dir = getDataDir() - my_bin = getServerDir() + '/bin/usr/bin' + my_bin = getServerDir() + '/bin' my_binlog_cmd = my_bin + '/mysqlbinlog' cmd = my_binlog_cmd + ' --no-defaults --base64-output=decode-rows -vvvv ' + \ @@ -137,7 +137,7 @@ def binLogListTraceRelay(args): file = relay_list[0] - my_bin = getServerDir() + '/bin/usr/bin' + my_bin = getServerDir() + '/bin' my_binlog_cmd = my_bin + '/mysqlbinlog' cmd = my_binlog_cmd + ' --no-defaults --base64-output=decode-rows -vvvv ' + \ @@ -175,7 +175,7 @@ def binLogListTraceBinLog(args): log_bin_l = sorted(log_bin_l, reverse=True) file = log_bin_l[0] - my_bin = getServerDir() + '/bin/usr/bin' + my_bin = getServerDir() + '/bin' my_binlog_cmd = my_bin + '/mysqlbinlog' cmd = my_binlog_cmd + ' --no-defaults --base64-output=decode-rows -vvvv ' + \