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":1327.0999999046326,"ttfb":401.59999990463257,"pageVisibility":"visible","entityId":33602,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c39c412f-3a0e-4db7-a168-3cd2a51356bc","navigationType":0,"readyForUser":1427.9000000953674,"redirectCount":0,"resourceLoadedEnd":1482.5999999046326,"resourceLoadedStart":428.5,"resourceTiming":[{"duration":159,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":428.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":428.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":587.5,"responseStart":0,"secureConnectionStart":0},{"duration":160,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":428.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":428.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":588.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":168.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":429,"connectEnd":429,"connectStart":429,"domainLookupEnd":429,"domainLookupStart":429,"fetchStart":429,"redirectEnd":0,"redirectStart":0,"requestStart":429,"responseEnd":597.0999999046326,"responseStart":597.0999999046326,"secureConnectionStart":429},{"duration":290.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":429.2000002861023,"connectEnd":429.2000002861023,"connectStart":429.2000002861023,"domainLookupEnd":429.2000002861023,"domainLookupStart":429.2000002861023,"fetchStart":429.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":429.2000002861023,"responseEnd":719.5999999046326,"responseStart":719.5999999046326,"secureConnectionStart":429.2000002861023},{"duration":318.40000009536743,"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":429.40000009536743,"connectEnd":429.40000009536743,"connectStart":429.40000009536743,"domainLookupEnd":429.40000009536743,"domainLookupStart":429.40000009536743,"fetchStart":429.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":429.40000009536743,"responseEnd":747.8000001907349,"responseStart":747.7000002861023,"secureConnectionStart":429.40000009536743},{"duration":323.8999996185303,"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":429.7000002861023,"connectEnd":429.7000002861023,"connectStart":429.7000002861023,"domainLookupEnd":429.7000002861023,"domainLookupStart":429.7000002861023,"fetchStart":429.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":429.7000002861023,"responseEnd":753.5999999046326,"responseStart":753.5999999046326,"secureConnectionStart":429.7000002861023},{"duration":327.59999990463257,"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":429.80000019073486,"connectEnd":429.80000019073486,"connectStart":429.80000019073486,"domainLookupEnd":429.80000019073486,"domainLookupStart":429.80000019073486,"fetchStart":429.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":429.80000019073486,"responseEnd":757.4000000953674,"responseStart":757.4000000953674,"secureConnectionStart":429.80000019073486},{"duration":339.09999990463257,"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":430,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":430,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":769.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":339.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":430.2000002861023,"connectEnd":430.2000002861023,"connectStart":430.2000002861023,"domainLookupEnd":430.2000002861023,"domainLookupStart":430.2000002861023,"fetchStart":430.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":430.2000002861023,"responseEnd":769.5,"responseStart":769.5,"secureConnectionStart":430.2000002861023},{"duration":341,"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":430.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":430.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":771.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":340.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":430.5,"connectEnd":430.5,"connectStart":430.5,"domainLookupEnd":430.5,"domainLookupStart":430.5,"fetchStart":430.5,"redirectEnd":0,"redirectStart":0,"requestStart":430.5,"responseEnd":771.3000001907349,"responseStart":771.3000001907349,"secureConnectionStart":430.5},{"duration":656.3999996185303,"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":431.2000002861023,"connectEnd":431.2000002861023,"connectStart":431.2000002861023,"domainLookupEnd":431.2000002861023,"domainLookupStart":431.2000002861023,"fetchStart":431.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":431.2000002861023,"responseEnd":1087.5999999046326,"responseStart":1087.5999999046326,"secureConnectionStart":431.2000002861023},{"duration":995.0999999046326,"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":431.40000009536743,"connectEnd":431.40000009536743,"connectStart":431.40000009536743,"domainLookupEnd":431.40000009536743,"domainLookupStart":431.40000009536743,"fetchStart":431.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":431.40000009536743,"responseEnd":1426.5,"responseStart":1426.5,"secureConnectionStart":431.40000009536743},{"duration":309.7999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":778.2000002861023,"connectEnd":778.2000002861023,"connectStart":778.2000002861023,"domainLookupEnd":778.2000002861023,"domainLookupStart":778.2000002861023,"fetchStart":778.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":778.2000002861023,"responseEnd":1088,"responseStart":1088,"secureConnectionStart":778.2000002861023},{"duration":375.5,"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","startTime":1107.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1107.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1482.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":490.19999980926514,"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","startTime":1108.7000002861023,"connectEnd":1108.7000002861023,"connectStart":1108.7000002861023,"domainLookupEnd":1108.7000002861023,"domainLookupStart":1108.7000002861023,"fetchStart":1108.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1108.7000002861023,"responseEnd":1598.9000000953674,"responseStart":1598.9000000953674,"secureConnectionStart":1108.7000002861023}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":245,"responseStart":402,"responseEnd":406,"domLoading":422,"domInteractive":1514,"domContentLoadedEventStart":1514,"domContentLoadedEventEnd":1558,"domComplete":2053,"loadEventStart":2053,"loadEventEnd":2053,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1495.5},{"name":"bigPipe.sidebar-id.end","time":1496.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1497},{"name":"bigPipe.activity-panel-pipe-id.end","time":1499.2000002861023},{"name":"activityTabFullyLoaded","time":1601.0999999046326}],"measures":[],"correlationId":"e3a3d5fbfe088f","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"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.