diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2010-10-09 13:27:40 +0200 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2010-10-09 13:27:40 +0200 |
| commit | e47bae33a7dbca478f619d2369d6c9913195b1d7 (patch) | |
| tree | 840be6cfef771e506992539290d7c22a1b7913e3 /dbtest.py | |
| parent | c7bcc643599e6da6bf647960bcb90026131c7867 (diff) | |
initial cx_Oracle connection up and running
Diffstat (limited to 'dbtest.py')
| -rw-r--r-- | dbtest.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dbtest.py b/dbtest.py new file mode 100644 index 0000000..45d7e50 --- /dev/null +++ b/dbtest.py @@ -0,0 +1,8 @@ +import cx_Oracle +import dbconfig + +connStr = u'%s/%s@%s' % (dbconfig.USER, dbconfig.PASS, dbconfig.SID) + +conn = cx_Oracle.connect(connStr) + +conn.close() |
