diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-09 14:08:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-09 14:08:30 +0200 |
commit | 5a085c04353e43fb787070585c3454393cf1e37b (patch) | |
tree | aff881683ceae2c439ade38aa510d1219ab5a0b1 /db | |
parent | 0f9b621cfb3bafdc0517a57f417e104a294dc672 (diff) |
Add note on running OCI applications under valgrind
Diffstat (limited to 'db')
-rw-r--r-- | db/oracle/setup | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/oracle/setup b/db/oracle/setup index 2b96a74..87964bd 100644 --- a/db/oracle/setup +++ b/db/oracle/setup @@ -12,3 +12,15 @@ CREATE SEQUENCE, CREATE TRIGGER, CREATE SESSION, UNLIMITED TABLESPACE TO odb_test; + +======= + +If running an OCI-based client under valgrind you get "ORA-12546: TNS: +permission denied", then you need to set the TWO_TASK environment +variable: + +export TWO_TASK=<service name> + +For example: + +export TWO_TASK=xe |