2 or more different servers can "bind" to the same pipe name.
The effects can be interesting, as the client never knows which server it connects to.
My tests with 2 servers show that client would connect them into "round-robin" fashion
I.e I started 2 servers, with --skip-networking --enable-named-pipe, from different directories.
client connects/quits, connects again and ends up on the different server than the 1st time.
|
PS D:\work\server\xxx> .\client\Debug\mysql -uroot --protocol=pipe
|
Welcome to the MariaDB monitor. Commands end with ; or \g.
|
Your MariaDB connection id is 4
|
Server version: 10.2.2-MariaDB-debug Source distribution
|
|
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
|
|
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
|
MariaDB [(none)]> show variables like 'character_sets_dir';
|
+--------------------+------------------------------------------------------+
|
| Variable_name | Value |
|
+--------------------+------------------------------------------------------+
|
| character_sets_dir | D:\work\10.2-wlad-batch-mode\xxx\sql\share\charsets\ |
|
+--------------------+------------------------------------------------------+
|
1 row in set (0.00 sec)
|
|
MariaDB [(none)]> quit
|
Bye
|
PS D:\work\server\xxx> .\client\Debug\mysql -uroot --protocol=pipe
|
Welcome to the MariaDB monitor. Commands end with ; or \g.
|
Your MariaDB connection id is 4
|
Server version: 10.2.2-MariaDB-debug Source distribution
|
|
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
|
|
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
|
MariaDB [(none)]> show variables like 'character_sets_dir';
|
+--------------------+----------------------------------------+
|
| Variable_name | Value |
|
+--------------------+----------------------------------------+
|
| character_sets_dir | D:\work\server\xxx\sql\share\charsets\ |
|
+--------------------+----------------------------------------+
|
{"report":{"fcp":803,"ttfb":135.20000004768372,"pageVisibility":"visible","entityId":57421,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"8f0b4ecf-81d9-4976-a55c-0dac70d6fcb0","navigationType":0,"readyForUser":858.9000000953674,"redirectCount":0,"resourceLoadedEnd":1053.5999999046326,"resourceLoadedStart":141.59999990463257,"resourceTiming":[{"duration":185.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":141.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":141.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":326.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":185.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":141.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":141.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":327.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":243.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":142,"connectEnd":142,"connectStart":142,"domainLookupEnd":142,"domainLookupStart":142,"fetchStart":142,"redirectEnd":0,"redirectStart":0,"requestStart":142,"responseEnd":385.59999990463257,"responseStart":385.5,"secureConnectionStart":142},{"duration":314.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":142.09999990463257,"connectEnd":142.09999990463257,"connectStart":142.09999990463257,"domainLookupEnd":142.09999990463257,"domainLookupStart":142.09999990463257,"fetchStart":142.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":142.09999990463257,"responseEnd":456.5,"responseStart":456.5,"secureConnectionStart":142.09999990463257},{"duration":317.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":142.20000004768372,"connectEnd":142.20000004768372,"connectStart":142.20000004768372,"domainLookupEnd":142.20000004768372,"domainLookupStart":142.20000004768372,"fetchStart":142.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":142.20000004768372,"responseEnd":459.5,"responseStart":459.5,"secureConnectionStart":142.20000004768372},{"duration":318,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":142.29999995231628,"connectEnd":142.29999995231628,"connectStart":142.29999995231628,"domainLookupEnd":142.29999995231628,"domainLookupStart":142.29999995231628,"fetchStart":142.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":142.29999995231628,"responseEnd":460.2999999523163,"responseStart":460.2999999523163,"secureConnectionStart":142.29999995231628},{"duration":319,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":142.40000009536743,"connectEnd":142.40000009536743,"connectStart":142.40000009536743,"domainLookupEnd":142.40000009536743,"domainLookupStart":142.40000009536743,"fetchStart":142.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":142.40000009536743,"responseEnd":461.40000009536743,"responseStart":461.40000009536743,"secureConnectionStart":142.40000009536743},{"duration":319.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":142.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":142.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":462.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":319.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":142.59999990463257,"connectEnd":142.59999990463257,"connectStart":142.59999990463257,"domainLookupEnd":142.59999990463257,"domainLookupStart":142.59999990463257,"fetchStart":142.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":142.59999990463257,"responseEnd":462.40000009536743,"responseStart":462.40000009536743,"secureConnectionStart":142.59999990463257},{"duration":320.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":142.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":142.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":463.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":320.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":142.90000009536743,"connectEnd":142.90000009536743,"connectStart":142.90000009536743,"domainLookupEnd":142.90000009536743,"domainLookupStart":142.90000009536743,"fetchStart":142.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":142.90000009536743,"responseEnd":463.5,"responseStart":463.5,"secureConnectionStart":142.90000009536743},{"duration":736,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":143.5,"connectEnd":143.5,"connectStart":143.5,"domainLookupEnd":143.5,"domainLookupStart":143.5,"fetchStart":143.5,"redirectEnd":0,"redirectStart":0,"requestStart":143.5,"responseEnd":879.5,"responseStart":879.5,"secureConnectionStart":143.5},{"duration":910,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":143.59999990463257,"connectEnd":143.59999990463257,"connectStart":143.59999990463257,"domainLookupEnd":143.59999990463257,"domainLookupStart":143.59999990463257,"fetchStart":143.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":143.59999990463257,"responseEnd":1053.5999999046326,"responseStart":1053.5999999046326,"secureConnectionStart":143.59999990463257},{"duration":450.2999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":602,"connectEnd":602,"connectStart":602,"domainLookupEnd":602,"domainLookupStart":602,"fetchStart":602,"redirectEnd":0,"redirectStart":0,"requestStart":602,"responseEnd":1052.2999999523163,"responseStart":1052.2999999523163,"secureConnectionStart":602},{"duration":275.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":779.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":779.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1054.7999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":13,"responseStart":135,"responseEnd":137,"domLoading":139,"domInteractive":1114,"domContentLoadedEventStart":1114,"domContentLoadedEventEnd":1149,"domComplete":1559,"loadEventStart":1559,"loadEventEnd":1561,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1060.2999999523163},{"name":"bigPipe.sidebar-id.end","time":1061.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1061.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1063.9000000953674},{"name":"activityTabFullyLoaded","time":1154.9000000953674}],"measures":[],"correlationId":"2a888f2e510216","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":68,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}