I have been having a fit trying to install MariaDB 10.2 on MacOS X, both via the official installer, and via homebrew.
But I was using an older OS than the one stated on the MariaDB Download page, so I went deeper to try to eliminate variables.
I re-formatted the disk, clean-installed the latest MacOS (10.13.3), installed the latest Xcode, installed Remote Desktop (this Mac Mini server is normally headless), and downloaded the latest (10.2.12) MariaDB installer. Should be pretty much like your test environment, no? 
The installer said the installation failed, near the very end of the process.
/var/log/mariadb_installer.log ends with:
sh: line 1: 1580 Illegal instruction: 4 '/usr/local/mariadb/server/bin/mysql' --no-defaults --help 2>&1 > /dev/null
|
FATAL ERROR: Can't execute '/usr/local/mariadb/server/bin/mysql'
|
Figuring that the physical install succeeded, but initialization scripts failed, I manually followed the instructions in INSTALL_BINARY, and I manually ran "./bin/mysqld_safe --user=mysql &"
Then I tried to run mysql from the shell, and I get "Illegal Instruction: 4" and a shell return code of 132. (mariadb/server/bin/perror tells me that means: "Old database file," which is strange, coming from a new installation.) I tried running other utilities in /usr/local/mariadb/server/bin, and got a similar message, probably because they are mostly shell script wrappers around mysql.
I installed the third-party GUI MySQL clients "Sequel Pro" and "Querious." Both of them can connect to the database at 127.0.0.1. I successfully created a simple table in the test database and wrote/read a few records.
I used the tool "Pacifist" to open the MacOS Installer package and extract just the mysql binary. It has the same cksum(1) as the installed one, and behaves the same.
SO it appears that there is a bad copy of the client program "mysql" in the official download package for MacOS. At least, I can't think of any other reason there could be an "illegal instruction" exception.
UPDATE, 2012-02-03: I repeated the test on a different, nearly identical MacMini5,3, with the same result. I will attempt to install the Homebrew bottled (pre-compiled) version next.
- relates to
-
MDBF-48
Merge macOS .pkg scripts and add to buildbot
-
-
Closed
{"report":{"fcp":1213.4000000953674,"ttfb":288.90000009536743,"pageVisibility":"visible","entityId":65630,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d8503523-8165-48fe-942f-24f738a9e21b","navigationType":0,"readyForUser":1299.6000000238419,"redirectCount":0,"resourceLoadedEnd":1155,"resourceLoadedStart":299.90000009536743,"resourceTiming":[{"duration":12.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":299.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":299.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":312.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":12.5,"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":300.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":300.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":312.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":388.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":301,"connectEnd":301,"connectStart":301,"domainLookupEnd":301,"domainLookupStart":301,"fetchStart":301,"redirectEnd":0,"redirectStart":0,"requestStart":301,"responseEnd":689.1000000238419,"responseStart":689.1000000238419,"secureConnectionStart":301},{"duration":437.5,"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":301.3000000715256,"connectEnd":301.3000000715256,"connectStart":301.3000000715256,"domainLookupEnd":301.3000000715256,"domainLookupStart":301.3000000715256,"fetchStart":301.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":301.3000000715256,"responseEnd":738.8000000715256,"responseStart":738.8000000715256,"secureConnectionStart":301.3000000715256},{"duration":389.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":301.5,"connectEnd":301.5,"connectStart":301.5,"domainLookupEnd":301.5,"domainLookupStart":301.5,"fetchStart":301.5,"redirectEnd":0,"redirectStart":0,"requestStart":301.5,"responseEnd":691.4000000953674,"responseStart":691.4000000953674,"secureConnectionStart":301.5},{"duration":389.39999997615814,"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":301.60000002384186,"connectEnd":301.60000002384186,"connectStart":301.60000002384186,"domainLookupEnd":301.60000002384186,"domainLookupStart":301.60000002384186,"fetchStart":301.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":301.60000002384186,"responseEnd":691,"responseStart":691,"secureConnectionStart":301.60000002384186},{"duration":203.09999990463257,"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":301.90000009536743,"connectEnd":301.90000009536743,"connectStart":301.90000009536743,"domainLookupEnd":301.90000009536743,"domainLookupStart":301.90000009536743,"fetchStart":301.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":301.90000009536743,"responseEnd":505,"responseStart":505,"secureConnectionStart":301.90000009536743},{"duration":26.100000023841858,"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":302,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":302,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":328.10000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":390.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":302.2000000476837,"connectEnd":302.2000000476837,"connectStart":302.2000000476837,"domainLookupEnd":302.2000000476837,"domainLookupStart":302.2000000476837,"fetchStart":302.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":302.2000000476837,"responseEnd":693.1000000238419,"responseStart":693.1000000238419,"secureConnectionStart":302.2000000476837},{"duration":25.799999952316284,"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":302.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":302.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":328.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":389.7000000476837,"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":302.5,"connectEnd":302.5,"connectStart":302.5,"domainLookupEnd":302.5,"domainLookupStart":302.5,"fetchStart":302.5,"redirectEnd":0,"redirectStart":0,"requestStart":302.5,"responseEnd":692.2000000476837,"responseStart":692.2000000476837,"secureConnectionStart":302.5},{"duration":436.10000002384186,"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":306.5,"connectEnd":306.5,"connectStart":306.5,"domainLookupEnd":306.5,"domainLookupStart":306.5,"fetchStart":306.5,"redirectEnd":0,"redirectStart":0,"requestStart":306.5,"responseEnd":742.6000000238419,"responseStart":742.6000000238419,"secureConnectionStart":306.5},{"duration":432.39999997615814,"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.90000009536743,"connectEnd":310.90000009536743,"connectStart":310.90000009536743,"domainLookupEnd":310.90000009536743,"domainLookupStart":310.90000009536743,"fetchStart":310.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":310.90000009536743,"responseEnd":743.3000000715256,"responseStart":743.3000000715256,"secureConnectionStart":310.90000009536743},{"duration":28.399999976158142,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":881.4000000953674,"connectEnd":881.4000000953674,"connectStart":881.4000000953674,"domainLookupEnd":881.4000000953674,"domainLookupStart":881.4000000953674,"fetchStart":881.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":881.4000000953674,"responseEnd":909.8000000715256,"responseStart":909.8000000715256,"secureConnectionStart":881.4000000953674},{"duration":239.29999995231628,"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":915.7000000476837,"connectEnd":915.7000000476837,"connectStart":915.7000000476837,"domainLookupEnd":915.7000000476837,"domainLookupStart":915.7000000476837,"fetchStart":915.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":915.7000000476837,"responseEnd":1155,"responseStart":1155,"secureConnectionStart":915.7000000476837},{"duration":157.89999997615814,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1206.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1206.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1364.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":89.20000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1417.5,"connectEnd":1417.5,"connectStart":1417.5,"domainLookupEnd":1417.5,"domainLookupStart":1417.5,"fetchStart":1417.5,"redirectEnd":0,"redirectStart":0,"requestStart":1417.5,"responseEnd":1506.7000000476837,"responseStart":1506.7000000476837,"secureConnectionStart":1417.5}],"fetchStart":0,"domainLookupStart":26,"domainLookupEnd":78,"connectStart":78,"connectEnd":105,"secureConnectionStart":87,"requestStart":105,"responseStart":289,"responseEnd":311,"domLoading":293,"domInteractive":1428,"domContentLoadedEventStart":1429,"domContentLoadedEventEnd":1501,"domComplete":1547,"loadEventStart":1547,"loadEventEnd":1548,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1367.3000000715256},{"name":"bigPipe.sidebar-id.end","time":1368.1000000238419},{"name":"bigPipe.activity-panel-pipe-id.start","time":1368.3000000715256},{"name":"bigPipe.activity-panel-pipe-id.end","time":1378},{"name":"activityTabFullyLoaded","time":1528.6000000238419}],"measures":[],"correlationId":"de0da0e487f1f4","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":118,"dbReadsTimeInMs":16,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I downloaded the pkg file for MACOS from https://downloads.mariadb.com/MariaDB/mariadb-10.2.12/.
Then i installed it , worked for me
Also did once by just unpacking and then ran the binary, that also worked.
I am using MAC OSX 10.13.2 on a 2.7 GHz Intel Core i5