SQLcl (Liquibase) (MOSC)

MOSC Banner

sqlcl - connect to a PostgreSQL database

edited May 15, 2023 9:09AM in SQLcl (Liquibase) (MOSC) 1 commentAnswered ✓

I'm able to connect to a PostgreSQL database using SQL Developer. A connect using sqlcl is not working.

SQL> show version
Oracle SQL Developer Command Line (SQLcl) Version: 23.1.0.0 Build: 23.1.0.89.0930

A JDBC driver postgresql-42.6.0.jar was copied to <sqlcl-root>/lib/drivers.

sql /nolog
connect -v -t <username>@jdbc:postgresql://<host>:<port>/<database>

No output is shown. I'm still not connected.

The same JDBC driver was used in SQL Developer configuration. SQL Developer version is 23.1.0.097.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center