title: Python records connecting to Oracle
body: <p>I am using Kenneth Ritz's records library to connect to Oracle.</p>
  
  <pre><code>db = records.Database('oracle://scott/tiger@localhost:1521/orcl')
  </code></pre>
  
  <p>But it always throws this error</p>
  
  <pre><code>DatabaseError: (cx_Oracle.DatabaseError) 
  ORA-12545: Connect failed because target host 
  or object does not exist.
  </code></pre>
  
  <p>However, connecting via SQL Plus works just fine</p>
  
  <pre><code>sqlplus scott/tiger@localhost/orcl:1521
  
  SQL*Plus: Release 12.1.0.1.0 Production on Sat Mar 11 17:29:19 2017
  
  Copyright (c) 1982, 2013, Oracle.  All rights reserved.
  
  Last Successful login time: Sat Mar 11 2017 17:16:24 +05:30
  
  Connected to:
  Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
  With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
  
  SQL&gt;
  </code></pre>
  
  <p>Interesting Observation</p>
  
  <pre><code>db = cx_Oracle.connect('scott/tiger@localhost:1521/orcl') **&lt;--Works**
  
  db.version
  '12.1.0.1.0'
  
  db = records.Database('oracle+cx_oracle://scott/tiger@localhost:1521/orcl')
  doesn't work
  </code></pre>
  
  <p>Any idea what I am doing wrong here?</p>