Cannot install openmrs on mac monterey (Intel chip)

I tried download from sourceforge then running jar file from terminal, when I tried clicking on install with sample data or install with no data getting error as follow.

MysqldResource] launching mysqld (driver_launched_mysqld_1)
Exception in thread "driver_launched_mysqld_1" com.mysql.management.util.WrappedException: java.io.IOException: Cannot run program "/Users/macbookpro/Downloads/referenceapplication-standalone-2.12.2/database/bin/mysqld": error=86, Bad CPU type in executable
	at com.mysql.management.util.Exceptions.toRuntime(Exceptions.java:55)
	at com.mysql.management.util.Exceptions$Block.exec(Exceptions.java:89)
	at com.mysql.management.util.RuntimeI$Default.exec(RuntimeI.java:180)
	at com.mysql.management.util.Shell$Default.run(Shell.java:140)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Cannot run program "/Users/macbookpro/Downloads/referenceapplication-standalone-2.12.2/database/bin/mysqld": error=86, Bad CPU type in executable
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
	at java.base/java.lang.Runtime.exec(Runtime.java:592)
	at com.mysql.management.util.RuntimeI$Default$1.inner(RuntimeI.java:177)
	at com.mysql.management.util.Exceptions$Block.exec(Exceptions.java:86)
	... 3 more
Caused by: java.io.IOException: error=86, Bad CPU type in executable
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340)
	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
	... 7 more

I tried killing process on port 3305 of MySQL, restarted MySQL also stopping MySQL of my system but nothing seems to be working.

can someone help me out here. Thanks for your valuable time :slight_smile:

any help/ guidance would be appreciated :wink:

1 Like

@jnsereko @jwnasambu do you have any idea concerning the issue above?

Hey there @kdaud thanks for giving your valuable time, I have already sorted it out some how by reinstalling MySQL and reinstall the openmrs software.

well thanks for all your time. :slight_smile:

1 Like