# find the tnsnames.or file
echo $ORACLE_HOME
vim $ORACLE_HOME/network/admin/tnsnames.ora
####################################################################
# the tnsnames.ora file could like the following text
# 'informatica11g' is its tnsname of Oracle
####################################################################
# informatica11g=
# (DESCRIPTION =
# (ADDRESS = (PROTOCOL = TCP)(HOST = ${IP} )(PORT = ${PORT}))
# (CONNECT_DATA =
# (SERVER = DEDICATED)
# (SERVICE_NAME = orcl)
# )
# )
# start Oracle
dbstart $ORACLE_HOME
# enter SQL mode
sqlplus system@informatica11g
####################################################################
# reverse engineering side config
####################################################################
vim /cygdrive/e/app/b/product/11.2.0/client_2/network/admin/tnsnames.ora
2011年2月10日 星期四
Basic commands of Oracle
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言