Can anyone please advise:
I have an existing nodejs server running on azure, running node 10.14 on Linux. The project code is on github and when I push changes they are automatically pushed to azure.
I have set up a database server and database though the Azure portal and can query it through the Azure portal.
I want to modify the nodejs server to conect to the database, I have the connection string code etc. but just the act of adding the line:
var mysql = require('mysql');
will stop the server form running as presumably I have not installed mysql on the machine which is running the server in the Azure cloud.
How can I get this to work?
Thanks for any help, Mitch.
