[MysqldResource] launching mysqld (driver_launched_mysqld_1)
210521 4:18:27 [ERROR] Fatal error: Please read “Security” section of the manual to find out how to run mysqld as root!
sorry, i hadnt considered this (standalone),standalone comes with an emebedded database, what happens if you log in to your pc as an admin and run the standalone jar file?
i tried this solution below but still getting the error.
If you try connecting to the MySQL server from commandline and get this error message: " ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ":
Add this " &server.socket=/tmp/openmrs.sock " (without the double quotes) at the end of the value in the connection.url key of the runtime properties file, and then restart the standalone application. If after doing that, you still get the same error message, then on your command line, add this: --socket=/tmp/openmrs.sock
Then you can connect with something like: ./mysql -u openmrs -p --socket=/tmp/openmrs.sock