I have a web based project which I wrote with NodeJS. I moved the project to my Raspberry Pi which runs on Raspbian Stretch. The project has a lot of lines of code which deal with MySQL connections. However, when I installed MySQL on Stretch, I got MariaDB. It is not possible for me to convert every line of MySQl related code to use MariaDB. Due to that, I need MySQL as it used to get installed on previous Debian versions (like Jesse).
How do I install MySQL instead of MariaDB ? On a few forums I read that I need to build it from the source code. Is there another way? And if not, then can someone guide me on building it from the source code?