Oracle db connection from login script

I try to connect oracle db from the login script in Authentication->Database->Custom Database using an example from documentation but this one produces an exception (see below). But when I did the same thing with Postgsql, it just shows me this one connect ECONNREFUSED And this one seems good, cause it can’t connect to localhost, but How can i connect to oracle db?

"DPI-1047: Cannot locate a 64-bit Oracle Client library: 
\" cannot open shared object file: No such file or directory\".
 See for help\nNode-oracledb installation instructions:\nYou must have 64-bit Oracle client libraries in LD_LIBRARY_PATH,
 or configured with ldconfig.\nIf you do not have Oracle Database on this computer,
 then install the Instant Client Basic or Basic Light package from \n\n"