CONNECT table types that use PROXY do not work if the server is running with skip-networking or bind-address set to something other than the loopback interface.
With bind-address set (to something other than 127.0.0.1):
mysql 10.0.10-MariaDB (root) [test]> select * from fruit_pivot;
|
ERROR 1296 (HY000): Got error 174 '(2003) Can't connect to MySQL server on 'localhost' (61 "Connection refused")' from CONNECT
|
With skip-networking:
mysql 10.0.10-MariaDB (root) [test]> select * from fruit_pivot;
|
ERROR 1296 (HY000): Got error 174 '(2003) Can't connect to MySQL server on 'localhost' (49 "Can't assign requested address")' from CONNECT
|
It would be neat if the CONNECT engine tried by default to connect using the socket file. It would also be good if there was some way to specify an IP to use, I guess, in the case that the server is running with bind-address set.
{"report":{"fcp":1260.0999999046326,"ttfb":462.2000002861023,"pageVisibility":"visible","entityId":33602,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"bb8fb39c-348f-42e3-a25e-c2c1522b7fbf","navigationType":0,"readyForUser":1340.0999999046326,"redirectCount":0,"resourceLoadedEnd":1542.0999999046326,"resourceLoadedStart":469.09999990463257,"resourceTiming":[{"duration":223,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":469.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":469.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":692.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":223.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":469.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":469.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":693,"responseStart":0,"secureConnectionStart":0},{"duration":277.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":469.59999990463257,"connectEnd":469.59999990463257,"connectStart":469.59999990463257,"domainLookupEnd":469.59999990463257,"domainLookupStart":469.59999990463257,"fetchStart":469.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":469.59999990463257,"responseEnd":746.7000002861023,"responseStart":746.7000002861023,"secureConnectionStart":469.59999990463257},{"duration":448.2999997138977,"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":469.7000002861023,"connectEnd":469.7000002861023,"connectStart":469.7000002861023,"domainLookupEnd":469.7000002861023,"domainLookupStart":469.7000002861023,"fetchStart":469.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":469.7000002861023,"responseEnd":918,"responseStart":918,"secureConnectionStart":469.7000002861023},{"duration":453.90000009536743,"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":469.90000009536743,"connectEnd":469.90000009536743,"connectStart":469.90000009536743,"domainLookupEnd":469.90000009536743,"domainLookupStart":469.90000009536743,"fetchStart":469.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":469.90000009536743,"responseEnd":923.8000001907349,"responseStart":923.8000001907349,"secureConnectionStart":469.90000009536743},{"duration":454.7000002861023,"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":470.09999990463257,"connectEnd":470.09999990463257,"connectStart":470.09999990463257,"domainLookupEnd":470.09999990463257,"domainLookupStart":470.09999990463257,"fetchStart":470.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":470.09999990463257,"responseEnd":924.8000001907349,"responseStart":924.8000001907349,"secureConnectionStart":470.09999990463257},{"duration":454.90000009536743,"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":470.30000019073486,"connectEnd":470.30000019073486,"connectStart":470.30000019073486,"domainLookupEnd":470.30000019073486,"domainLookupStart":470.30000019073486,"fetchStart":470.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":470.30000019073486,"responseEnd":925.2000002861023,"responseStart":925.2000002861023,"secureConnectionStart":470.30000019073486},{"duration":457.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":470.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":470.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":927.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":455.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":470.59999990463257,"connectEnd":470.59999990463257,"connectStart":470.59999990463257,"domainLookupEnd":470.59999990463257,"domainLookupStart":470.59999990463257,"fetchStart":470.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":470.59999990463257,"responseEnd":926,"responseStart":926,"secureConnectionStart":470.59999990463257},{"duration":457.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":470.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":470.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":927.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":455.80000019073486,"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":470.90000009536743,"connectEnd":470.90000009536743,"connectStart":470.90000009536743,"domainLookupEnd":470.90000009536743,"domainLookupStart":470.90000009536743,"fetchStart":470.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":470.90000009536743,"responseEnd":926.7000002861023,"responseStart":926.7000002861023,"secureConnectionStart":470.90000009536743},{"duration":764.0999999046326,"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":471.80000019073486,"connectEnd":471.80000019073486,"connectStart":471.80000019073486,"domainLookupEnd":471.80000019073486,"domainLookupStart":471.80000019073486,"fetchStart":471.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":471.80000019073486,"responseEnd":1235.9000000953674,"responseStart":1235.9000000953674,"secureConnectionStart":471.80000019073486},{"duration":994.9000000953674,"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":483.30000019073486,"connectEnd":483.30000019073486,"connectStart":483.30000019073486,"domainLookupEnd":483.30000019073486,"domainLookupStart":483.30000019073486,"fetchStart":483.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":483.30000019073486,"responseEnd":1478.2000002861023,"responseStart":1478.2000002861023,"secureConnectionStart":483.30000019073486},{"duration":322.6000003814697,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":909.5999999046326,"connectEnd":909.5999999046326,"connectStart":909.5999999046326,"domainLookupEnd":909.5999999046326,"domainLookupStart":909.5999999046326,"fetchStart":909.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":909.5999999046326,"responseEnd":1232.2000002861023,"responseStart":1232.2000002861023,"secureConnectionStart":909.5999999046326},{"duration":292,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1250.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1250.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1542.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":267.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1274.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1274.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1542.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":239.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1275.5,"connectEnd":1275.5,"connectStart":1275.5,"domainLookupEnd":1275.5,"domainLookupStart":1275.5,"fetchStart":1275.5,"redirectEnd":0,"redirectStart":0,"requestStart":1275.5,"responseEnd":1514.8000001907349,"responseStart":1514.7000002861023,"secureConnectionStart":1275.5},{"duration":248.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1276.4000000953674,"connectEnd":1276.4000000953674,"connectStart":1276.4000000953674,"domainLookupEnd":1276.4000000953674,"domainLookupStart":1276.4000000953674,"fetchStart":1276.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1276.4000000953674,"responseEnd":1524.7000002861023,"responseStart":1524.7000002861023,"secureConnectionStart":1276.4000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":286,"responseStart":462,"responseEnd":468,"domLoading":466,"domInteractive":1550,"domContentLoadedEventStart":1550,"domContentLoadedEventEnd":1593,"domComplete":1714,"loadEventStart":1714,"loadEventEnd":1714,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1480.2000002861023},{"name":"bigPipe.sidebar-id.end","time":1481.2000002861023},{"name":"bigPipe.activity-panel-pipe-id.start","time":1481.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1483.5999999046326},{"name":"activityTabFullyLoaded","time":1612.3000001907349}],"measures":[],"correlationId":"30cc923f0df7ae","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":117,"dbReadsTimeInMs":13,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
In all PROXY based tables, you can specify the connection parameters (as for MYSQL tables)
For instance, the default host is 'localhost' but can be changed to an IP address. You can alternatively use an URL or even give the name of a pre-defined connection server.
Perhaps this enables you to solve your probem.