SCRIPT_ERROR - db is not defined

Having trouble using the ‘db’ object. This line results in error: SCRIPT_ERROR - db is not defined

db.setConnectionString('connection string here')

I’m running this in the IDE on a Mac. Is there something else needed to be able to use the db object?

found this on github and this did the trick
brew install unixodbc

may be worth putting this on the Oxygen DB API page (, even if just a link to the github page with instructions on how to set up before use :+1:t5:


Thanks for pointing this out, Angie. Appreciate it.
@Ben_Teshuva - Can you add something about this to the Oxygen DB API page?

1 Like

Updated link for DB Help

1 Like