summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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