You can learn more about how it works and how i made it here
Download mysql enterprise from oracle here https://www.oracle.com/mysql/technologies/mysql-enterprise-edition-downloads.html
Make sure to have mysql-enterprise-8.2.0-javascript_el9_x86_64_bundle.tar
in the root of the project before building the Docker image
docker-compose up -d
npm run build
After that there is a bundle.js
file which contains the MySQL Commands that can be executed on the MySQL Server to run the Bitcoin Miner.
Spieltrieb.