Skip to content

Oracle - slice bound out of range #105

Closed
@PrimaMateria

Description

@PrimaMateria

Hi,
I am not able to figure out how to connect to oracle db. I am always getting the same error whatever url I specify.

~
❯ echo  $ORACLE_HOME
/Users/user/homebrew/opt/instantclient-sdk/
❯ usql
Type "help" for help.

(not connected)=> \drivers
Available Drivers:
  avatica [av, phoenix]
  clickhouse [ch]
  cockroachdb (postgres) [cr, cdb, crdb, cockroach]
  cql [ca, scy, scylla, datastax, cassandra]
  firebirdsql [fb, firebird]
  goracle [or, ora, oci, oci8, odpi, oracle, odpi-c]
  hdb [sa, sap, hana, saphana]
  ignite [ig, gridgain]
  memsql (mysql) [me]
  mssql [ms, sqlserver]
  mymysql [zm, mymy]
  mysql [my, maria, aurora, mariadb, percona]
  n1ql [n1, couchbase]
  odbc [od]
  pgx [px]
  postgres [pg, pgsql, postgresql]
  presto [pr, prs, prestos, prestodb, prestodbs]
  redshift (postgres) [rs]
  snowflake [sf]
  sqlite3 [sq, file, sqlite]
  tds [ax, ase, sapase]
  tidb (mysql) [ti]
  vertica [ve]
  vitess (mysql) [vt]
  voltdb [vo, vdb, volt]
(not connected)=> \c oracle://server/service
error: %!v(PANIC=Error method: runtime error: slice bounds out of range [313:9])

I tried several combinations - username and password, port, sid, service name. All end with the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions