SqlPlus ¸¦ ÀÌ¿ëÇÏ¿© ¿À¶óŬ¿¡ ¿ø°Ý Á¢¼ÓÇϱâ
*** ¸®½º³Ê¿¡ Ãß°¡
~/10.2.0/db_1/network/admin/listener.ora ÆÄÀÏ¿¡ Ãß°¡
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
)
LISTENER =
(DEscRIPTION_LIST =
(DEscRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
)
)
CNP =
(DEscRIPTON =
(ADDRESS = (PROTOCOL = TCP)(HOST = 118.232.225.121)(PORT = 1521))
(CONNECT_DATA =(SERVER=DEDICATED)(SERVICE_NAME=orcl)
)
*** »ç¿ëÀÚ °èÁ¤ »ý¼º ¹× ±ÇÇÑ ºÎ¿©
SQL> conn sys/oracle as sysdba
SQL> create user ¾ÆÀ̵ð identified by Æнº¿öµå;
*** ±ÇÇÑ Ãß°¡
SQL> grant connect, resource, dba to ¾ÆÀ̵ð;
*** Å×ÀÌºí º¸±â
SQL> select * from tabs;
*** Å×ÀÌºí »ý¼º
SQL> create table test(
2 name varchar2(15),
3 pwd varchar2(15));
=== ³ªºñĹ¿¡¼ Á¢¼Ó ¼³Á¤Çϱâ
¿¬°áŸÀÔ : Basic
È£½ºÆ®¸í/IPÁÖ¼Ò : ¿À¶óŬµðºñIP
Æ÷Æ® : 1521
Servuce Name/SID : orcl ( service name)
»ç¿ëÀÚ¸í :
Æнº¿öµå :