I need to connect and update the database via scripting
Is this possible. Please confirm.
It can be done, but it is hard.
yes, it's can be done, and yes, it's hard!
google for Node.js and Adobe CEP