My setup is as follows:
a) I am running Javascript on a set of figures (sourced from MongoDB) in a Linux command line and getting a set of values. b) I have a table setup on the same Linux machine in MySQL to hold these values obtained from Javascript.
How do I route the outputs from the Javascript to the MySQL table. I have read the post on connecting to a MySQL database on these forums. But is it also possible to include INSERT statements in that example?
It is a table for internal reporting purposes and the Linux machine is well protected so previous issues that were pointed out regarding security do not apply in my case I guess. But I could be wrong.
Kindly provide your inputs. Thank you in advance for your time and help.