MySQL has allowed the MASTER_BIND option for CHANGE MASTER since MySQL 5.6.2:
MASTER_BIND is for use on replication slaves having multiple network interfaces, and determines which of the slave's network interfaces is chosen for connecting to the master.
The address configured with this option, if any, can be seen in the Master_Bind column of the output from SHOW SLAVE STATUS. If you are using slave status log tables (server started with --master-info-repository=TABLE), the value can also be seen as the Master_bind column of the mysql.slave_master_info table.
The ability to bind a replication slave to a specific network interface was added in MySQL 5.6.2. This is also supported by MySQL NDB Cluster 7.3.1 and later.
I don’t want this to be merely a dummy compatibility field, yet I can’t tell if the function I coded works. susil.behera could you lend a hand?
Jimmy Hú
added a comment - https://github.com/MariaDB/server/pull/3883
I don’t want this to be merely a dummy compatibility field, yet I can’t tell if the function I coded works. susil.behera could you lend a hand?
Where the code of the patch looks ok, the functionality doesn't actually work. The patch relies on option MYSQL_OPT_BIND, but it looks like that option may be dead. We'll have to investigate further in the 12.1 feature development cycle.
Brandon Nesterenko
added a comment - Where the code of the patch looks ok, the functionality doesn't actually work. The patch relies on option MYSQL_OPT_BIND , but it looks like that option may be dead. We'll have to investigate further in the 12.1 feature development cycle.
People
Jimmy Hú
Geoff Montee (Inactive)
Votes:
2Vote for this issue
Watchers:
9Start watching this issue
Dates
Created:
Updated:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":807.9000000953674,"ttfb":204.5,"pageVisibility":"visible","entityId":75350,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":1,"journeyId":"54736479-fea0-40c8-a816-d2fd7eaa21c7","navigationType":0,"readyForUser":879.7000000476837,"redirectCount":0,"resourceLoadedEnd":809.5,"resourceLoadedStart":210.40000009536743,"resourceTiming":[{"duration":22.200000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":210.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":232.60000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":22.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":210.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":233.20000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":80,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":210.80000019073486,"connectEnd":210.80000019073486,"connectStart":210.80000019073486,"domainLookupEnd":210.80000019073486,"domainLookupStart":210.80000019073486,"fetchStart":210.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":210.80000019073486,"responseEnd":290.80000019073486,"responseStart":290.7000000476837,"secureConnectionStart":210.80000019073486},{"duration":163.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":211,"connectEnd":211,"connectStart":211,"domainLookupEnd":211,"domainLookupStart":211,"fetchStart":211,"redirectEnd":0,"redirectStart":0,"requestStart":211,"responseEnd":374.60000014305115,"responseStart":374.5,"secureConnectionStart":211},{"duration":167,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":211.20000004768372,"connectEnd":211.20000004768372,"connectStart":211.20000004768372,"domainLookupEnd":211.20000004768372,"domainLookupStart":211.20000004768372,"fetchStart":211.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":211.20000004768372,"responseEnd":378.2000000476837,"responseStart":378.10000014305115,"secureConnectionStart":211.20000004768372},{"duration":167.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":211.40000009536743,"connectEnd":211.40000009536743,"connectStart":211.40000009536743,"domainLookupEnd":211.40000009536743,"domainLookupStart":211.40000009536743,"fetchStart":211.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":211.40000009536743,"responseEnd":378.60000014305115,"responseStart":378.60000014305115,"secureConnectionStart":211.40000009536743},{"duration":167.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":211.60000014305115,"connectEnd":211.60000014305115,"connectStart":211.60000014305115,"domainLookupEnd":211.60000014305115,"domainLookupStart":211.60000014305115,"fetchStart":211.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":211.60000014305115,"responseEnd":378.90000009536743,"responseStart":378.90000009536743,"secureConnectionStart":211.60000014305115},{"duration":220.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":211.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":432.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":167.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":211.90000009536743,"connectEnd":211.90000009536743,"connectStart":211.90000009536743,"domainLookupEnd":211.90000009536743,"domainLookupStart":211.90000009536743,"fetchStart":211.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":211.90000009536743,"responseEnd":379.30000019073486,"responseStart":379.30000019073486,"secureConnectionStart":211.90000009536743},{"duration":220.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":212.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":212.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":432.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":167.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":212.20000004768372,"connectEnd":212.20000004768372,"connectStart":212.20000004768372,"domainLookupEnd":212.20000004768372,"domainLookupStart":212.20000004768372,"fetchStart":212.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":212.20000004768372,"responseEnd":379.90000009536743,"responseStart":379.90000009536743,"secureConnectionStart":212.20000004768372},{"duration":382.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":213.30000019073486,"connectEnd":213.30000019073486,"connectStart":213.30000019073486,"domainLookupEnd":213.30000019073486,"domainLookupStart":213.30000019073486,"fetchStart":213.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":213.30000019073486,"responseEnd":595.9000000953674,"responseStart":595.9000000953674,"secureConnectionStart":213.30000019073486},{"duration":596,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":213.5,"connectEnd":213.5,"connectStart":213.5,"domainLookupEnd":213.5,"domainLookupStart":213.5,"fetchStart":213.5,"redirectEnd":0,"redirectStart":0,"requestStart":213.5,"responseEnd":809.5,"responseStart":809.5,"secureConnectionStart":213.5},{"duration":153.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":443.30000019073486,"connectEnd":443.30000019073486,"connectStart":443.30000019073486,"domainLookupEnd":443.30000019073486,"domainLookupStart":443.30000019073486,"fetchStart":443.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":443.30000019073486,"responseEnd":596.9000000953674,"responseStart":596.9000000953674,"secureConnectionStart":443.30000019073486}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":58,"responseStart":204,"responseEnd":209,"domLoading":208,"domInteractive":948,"domContentLoadedEventStart":948,"domContentLoadedEventEnd":991,"domComplete":1747,"loadEventStart":1747,"loadEventEnd":1747,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":931.7000000476837},{"name":"bigPipe.sidebar-id.end","time":932.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":932.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":934.6000001430511},{"name":"activityTabFullyLoaded","time":1019.2000000476837}],"measures":[],"correlationId":"e8665cf5cfe142","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://github.com/MariaDB/server/pull/3883
I don’t want this to be merely a dummy compatibility field, yet I can’t tell if the function I coded works. susil.behera could you lend a hand?