summaryrefslogtreecommitdiff
path: root/db/oracle/setup
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-09 14:08:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-09 14:08:30 +0200
commit5a085c04353e43fb787070585c3454393cf1e37b (patch)
treeaff881683ceae2c439ade38aa510d1219ab5a0b1 /db/oracle/setup
parent0f9b621cfb3bafdc0517a57f417e104a294dc672 (diff)
Add note on running OCI applications under valgrind
Diffstat (limited to 'db/oracle/setup')
-rw-r--r--db/oracle/setup12
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