You can connect both to a local or remote DB using the SQLPlus tool.
Syntax:
Run the SQLPlus command with following arguments.
$ sqlplus username/password@HOST:PORT/SERVICE
Where
- username/password: credentials for a user already present in the Oracle DB
- HOST: a local or remote host.
- PORT: port e.g 1529 where the Oracle DB is listening.
- SERVICE: the service name you want to connect to.
- Check that the Host can actually be reached from the client where
sqlplusis running. - Check the port number is correct
- Check the username and password and service names.
Tools > Database Export Tool
| Task | Command | Notes |
|---|---|---|
| List the grants given to your schema | select * from user_tab_privs; |
This will list the grants for your currently-logged-in schema. |