Skip to content

Instantly share code, notes, and snippets.

@iyunbo
Last active December 17, 2015 05:08
Show Gist options
  • Save iyunbo/5555490 to your computer and use it in GitHub Desktop.
Save iyunbo/5555490 to your computer and use it in GitHub Desktop.
getting started your Oracle environment
echo $ORACLE_HOME
echo $ORACLE_SID
sqlplus "/ as sysdba"
# then under the sqlplus console:
> startup
sqlplus username/password@//hostname:PORT/SID
# if everything is fine, your should connect to the database,
# and the following SQL query will return 1;
> select 1 from dual;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment