Help › Connect to databases
Connect to Oracle Database
Connect to Oracle by service name, SID or connect descriptor, with or without TCPS, and what is particular to Oracle in Querlyn.
Querlyn 0.1.0 is not released yet. This help describes it ahead of release.
Querlyn speaks Oracle's network protocol itself. You do not install Oracle Client or Instant Client, and Querlyn works with Oracle Database 19c and later.
What you need
- The listener's host name and port (usually 1521, or 2484 for TCPS).
- The database's service name, or its SID, or a connect descriptor.
- A database user and its password.
Fill in the dialog
Choose and, under Database engine, Oracle Database.
Enter the Host and check the Port.
Under Connect by, choose how you name the database, and enter it:
Connect by What to enter Service name The service the listener offers for the database, for example FREEPDB1.SID The instance's system identifier, for databases reached by SID. Connect descriptor A descriptor that starts (DESCRIPTION=, or an Easy Connect string such asdb.example.com:1521/orclpdb. Its addresses take the place of Host and Port.Enter the User, and the Password or another place under Where the password is kept.
Choose TLS; see Encrypt with TCPS.
Choose Test Connection, then Save & Connect.
Note: Querlyn does not read tnsnames.ora. An alias from that file is
not looked up; paste the descriptor it stands for instead.
Encrypt with TCPS
Oracle has no way to switch a plain connection to an encrypted one, so the TLS choice decides which kind of listener Querlyn talks to:
| TLS | Connection | Port when you have not typed one |
|---|---|---|
| Disable, Prefer | Plain TCP | 1521 |
| Require (no verification) | TCPS; the certificate is not verified | 2484 |
| Verify full | TCPS; the certificate and its name are verified | 2484 |
For a host that is not your own computer the dialog starts at Verify full. If your listener is a plain one, the test fails at the TLS step with a hint; choose Prefer or Disable, or use the TCPS listener's port.
Oracle's Native Network Encryption is not supported. Querlyn does not connect to a server that requires it and says so; use TCPS there. A server that only offers it connects without it.
Sign-ins that are not supported
Querlyn signs in with a user name and password. It refuses, with the reason:
SYSDBA,SYSOPERand other administrative logins, and proxy users- Kerberos, RADIUS, operating-system and wallet (external) authentication, and Oracle Cloud IAM tokens
- accounts whose password is stored only in the old 10g form; reset the password to sign in
What is particular to Oracle
- Users are listed as schemas. The sidebar shows every user of the database, your own first and Oracle's own last, in the one pluggable database the session is in. Packages and types have folders of their own.
DBMS_OUTPUTis always shown. After each statement, the lines it printed are listed under Messages, up to 10,000 per statement.- Scripts may use
/and some SQL*Plus commands. A PL/SQL block ends at a/on a line of its own.PROMPTprints its text,EXECruns a procedure, andREMARKandSETlines are skipped. Other SQL*Plus commands (SPOOL,DESCRIBE,@file,HOST,CONNECT) are not SQL and fail with a message that says so. - Schema changes commit at once. Every DDL statement commits the open transaction and cannot be rolled back.
- A failed statement does not fail the transaction. Oracle undoes only that statement, so the tab never shows Transaction failed — roll back.
- Large values are read whole, up to 64 MiB. A larger
CLOBorBLOBfails the statement with a message that names the column; read a part of it withDBMS_LOB.SUBSTR. - A
DATEholds a time of day, so editing one in the results asks forYYYY-MM-DD HH:MM:SS. - Parameters are written
:nameor:1. - Explain Analyze needs a user that may read the performance views
(
SELECT_CATALOG_ROLE); Querlyn says so before anything runs. - Server Activity shows as much as your user may see, and names the privilege that shows more.
Your sessions are visible to the database's administrators with the program name "Querlyn", your computer's name and your user name on this computer, as with any Oracle client.
What Querlyn does not do
- Backup and restore. Oracle's Data Pump runs on the server and writes its files there. Move data with export and import instead.
- Lock and statement timeouts, and migration lock warnings.
- Cloud sign-in.
Help for Querlyn 0.1.0. All help topics