Closed govi74 closed 8 years ago
This may be same issue with cx_Oracle. https://bitbucket.org/anthony_tuininga/cx_oracle/issues/24/local-database-connect-bug
Could you set the environment variable BEQUEATH_DETACH=YES
and try again?
That was very fast response.. thanks..., but the setting the env variable did not help :-1:
(This comment was updated.)
I tested it.
The environment variable doesn't help as you said.
But BEQUEATH_DETACH=YES
in sqlnet.ora works.
I created a file $HOME/.sqlnet.ora
containing BEQUEATH_DETACH=YES
.
The orafaq entry may be incorrect.
I deleted statements about the ineffective BEQUEATH_DETACH environment variable in the orafaq entry.
Thanks a lot, it works and it saved me a lot of time...
Need to set the TNS_ADMIN which points to the sqlnet.ora even before " require 'oci8' "... May be this needs to be documented so, it would be helpful for others.
Is this a known issue? Ruby version: ruby-2.3.0 OCI Version: ruby-oci8-2.2.1