It is reported by one of our customers the my_print_defaults -e option is not working with MariaDB server 10.5
Here are the test results:
At MariaDB server 10.4.17, my_print_defaults -e giving the required output. Whereas at MariaDB server 10.5.x, -e option is not working instead has to specify --defaults-extra-file (alias).
/root/my.cnf
[mariadb-10.4]
|
key_buffer_size=20M
|
max_allowed_packet=250M
|
table_open_cache=1000
|
table_definition_cache=2000
|
read_buffer_size=1M
|
thread_cache_size=8
|
max_connections=1024
|
long_query_time=60
|
slow_query_log=1
|
[root@test001 ~]# mysql --version
|
mysql Ver 15.1 Distrib 10.4.17-MariaDB, for Linux (x86_64) using readline 5.1
|
|
[root@test001 ~]# my_print_defaults -e /root/my.cnf --mysqld mysql.server
|
--key_buffer_size=20M
|
--max_allowed_packet=250M
|
--table_open_cache=1000
|
--table_definition_cache=2000
|
--read_buffer_size=1M
|
--thread_cache_size=8
|
--max_connections=1024
|
--long_query_time=60
|
--slow_query_log=1
|
/root/my.cnf
[mariadb-10.5]
|
key_buffer_size=20M
|
max_allowed_packet=250M
|
table_open_cache=1000
|
table_definition_cache=2000
|
read_buffer_size=1M
|
thread_cache_size=8
|
max_connections=1024
|
long_query_time=60
|
slow_query_log=1
|
[root@test001 ~]# mysql --version
|
mysql Ver 15.1 Distrib 10.5.8-MariaDB, for Linux (x86_64) using readline 5.1
|
[root@test001 ~]#
|
[root@test001 ~]# my_print_defaults -e /root/my.cnf --mysqld mysql.server
|
[root@test001 ~]# my_print_defaults --defaults-extra-file=/root/my.cnf --mysqld mysql.server
|
--key_buffer_size=20M
|
--max_allowed_packet=250M
|
--table_open_cache=1000
|
--table_definition_cache=2000
|
--read_buffer_size=1M
|
--thread_cache_size=8
|
--max_connections=1024
|
--long_query_time=60
|
--slow_query_log=1
|
- relates to
-
MDEV-25908
-e does not work for my_print_defaults
-
-
Closed
{"report":{"fcp":1199.7000007629395,"ttfb":283.6000003814697,"pageVisibility":"visible","entityId":94029,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"5917a5e1-f2d2-40fe-9f21-8a26d7c77603","navigationType":0,"readyForUser":1307.2000007629395,"redirectCount":0,"resourceLoadedEnd":1353.8000001907349,"resourceLoadedStart":307.80000019073486,"resourceTiming":[{"duration":72.90000057220459,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":307.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":307.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":380.70000076293945,"responseStart":0,"secureConnectionStart":0},{"duration":73.60000038146973,"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":308,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":308,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":381.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":193.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":308.30000019073486,"connectEnd":308.30000019073486,"connectStart":308.30000019073486,"domainLookupEnd":308.30000019073486,"domainLookupStart":308.30000019073486,"fetchStart":308.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":308.30000019073486,"responseEnd":502,"responseStart":501.9000005722046,"secureConnectionStart":308.30000019073486},{"duration":409.8999996185303,"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":308.4000005722046,"connectEnd":308.4000005722046,"connectStart":308.4000005722046,"domainLookupEnd":308.4000005722046,"domainLookupStart":308.4000005722046,"fetchStart":308.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":308.4000005722046,"responseEnd":718.3000001907349,"responseStart":718.3000001907349,"secureConnectionStart":308.4000005722046},{"duration":441.3999996185303,"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":308.70000076293945,"connectEnd":308.70000076293945,"connectStart":308.70000076293945,"domainLookupEnd":308.70000076293945,"domainLookupStart":308.70000076293945,"fetchStart":308.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":308.70000076293945,"responseEnd":750.1000003814697,"responseStart":750.1000003814697,"secureConnectionStart":308.70000076293945},{"duration":442.70000076293945,"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":309,"connectEnd":309,"connectStart":309,"domainLookupEnd":309,"domainLookupStart":309,"fetchStart":309,"redirectEnd":0,"redirectStart":0,"requestStart":309,"responseEnd":751.7000007629395,"responseStart":751.7000007629395,"secureConnectionStart":309},{"duration":446.30000019073486,"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":309.1000003814697,"connectEnd":309.1000003814697,"connectStart":309.1000003814697,"domainLookupEnd":309.1000003814697,"domainLookupStart":309.1000003814697,"fetchStart":309.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":309.1000003814697,"responseEnd":755.4000005722046,"responseStart":755.4000005722046,"secureConnectionStart":309.1000003814697},{"duration":451.6000003814697,"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":309.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":309.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":760.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":449.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":309.5,"connectEnd":309.5,"connectStart":309.5,"domainLookupEnd":309.5,"domainLookupStart":309.5,"fetchStart":309.5,"redirectEnd":0,"redirectStart":0,"requestStart":309.5,"responseEnd":759.3000001907349,"responseStart":759.3000001907349,"secureConnectionStart":309.5},{"duration":451.3999996185303,"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":309.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":309.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":761,"responseStart":0,"secureConnectionStart":0},{"duration":450,"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":309.80000019073486,"connectEnd":309.80000019073486,"connectStart":309.80000019073486,"domainLookupEnd":309.80000019073486,"domainLookupStart":309.80000019073486,"fetchStart":309.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":309.80000019073486,"responseEnd":759.8000001907349,"responseStart":759.8000001907349,"secureConnectionStart":309.80000019073486},{"duration":693.1999998092651,"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":310.70000076293945,"connectEnd":310.70000076293945,"connectStart":310.70000076293945,"domainLookupEnd":310.70000076293945,"domainLookupStart":310.70000076293945,"fetchStart":310.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":310.70000076293945,"responseEnd":1003.9000005722046,"responseStart":1003.9000005722046,"secureConnectionStart":310.70000076293945},{"duration":934.6999998092651,"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":310.80000019073486,"connectEnd":310.80000019073486,"connectStart":310.80000019073486,"domainLookupEnd":310.80000019073486,"domainLookupStart":310.80000019073486,"fetchStart":310.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":310.80000019073486,"responseEnd":1245.5,"responseStart":1245.5,"secureConnectionStart":310.80000019073486},{"duration":288.8999996185303,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":713.6000003814697,"connectEnd":713.6000003814697,"connectStart":713.6000003814697,"domainLookupEnd":713.6000003814697,"domainLookupStart":713.6000003814697,"fetchStart":713.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":713.6000003814697,"responseEnd":1002.5,"responseStart":1002.5,"secureConnectionStart":713.6000003814697},{"duration":216.5999994277954,"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":1137.2000007629395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1137.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1353.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":181.5999994277954,"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":1138.9000005722046,"connectEnd":1138.9000005722046,"connectStart":1138.9000005722046,"domainLookupEnd":1138.9000005722046,"domainLookupStart":1138.9000005722046,"fetchStart":1138.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":1138.9000005722046,"responseEnd":1320.5,"responseStart":1320.5,"secureConnectionStart":1138.9000005722046},{"duration":200.89999961853027,"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":1139.2000007629395,"connectEnd":1139.2000007629395,"connectStart":1139.2000007629395,"domainLookupEnd":1139.2000007629395,"domainLookupStart":1139.2000007629395,"fetchStart":1139.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":1139.2000007629395,"responseEnd":1340.1000003814697,"responseStart":1340.1000003814697,"secureConnectionStart":1139.2000007629395},{"duration":170.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1191.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1191.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1362.4000005722046,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":120,"responseStart":284,"responseEnd":286,"domLoading":287,"domInteractive":1382,"domContentLoadedEventStart":1382,"domContentLoadedEventEnd":1445,"domComplete":2131,"loadEventStart":2131,"loadEventEnd":2132,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1369.1000003814697},{"name":"bigPipe.sidebar-id.end","time":1369.9000005722046},{"name":"bigPipe.activity-panel-pipe-id.start","time":1370.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1373.1000003814697},{"name":"activityTabFullyLoaded","time":1475.3000001907349}],"measures":[],"correlationId":"6469eee602bea","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":94,"dbReadsTimeInMs":9,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}