cmd - oracle Á¢¼Ó ¸í·É¾î Áú¹®

   Á¶È¸ 1703   Ãßõ 0    

 일반적으로 cmd로 oracledb 접속할 때

sqlplus system/PW@IP:Port/SID 로 접속하라고 배웠는데

이전에 sqlplus -u -p -P ??? 이런 명령어로 접속 하는걸 봤었는데 이 명령어를 찾아봐도 나오지 않는 것 같아서

해당 명령어에 대해 알 수 있을까요 ? 


ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
Ȳ±ÝÂù 2022-03
sqlplus scott/tiger@192.168.19.1:1521/xe
 ÂüÁ¶ ¹æ¹ýÀÔ´Ï´Ù .
https://lena19760323.tistory.com/154 ¸µÅ© ÂüÁ¶ ÇϽñ¸¿ä
 sqlplus system/a12345@IP:1521/orcl ÀÌ·±½ÄÀ¸·Î Á¢¼Ó È®ÀÎ Çغ¸½Ã¸é µÉµí ÇÕ´Ï´Ù
     
DB´ººñ 2022-03
Á¢¼Ó ¹æ¹ýÀ» È®ÀÎÇÏ°í Çغ¸¾Ò´Âµ¥ ÇØ°áÀÌ µÇÁö ¾Ê¾Æ Çϳª ´õ ¿©ÂÞ¾îºÁµµ ±¦ÂúÀ»±î¿ä ?
¸®½º³Ê¿Í tnsnames ÆÄÀÏÀ» È®ÀÎÇغ¸¾ÒÀ» ‹š ÀÌ»óÀÌ ¾ø¾úÁö¸¸ lsnrctl status·Î È®ÀÎÇÑ °á°ú ¹«¾ð°¡ ¹®Á¦°¡ ÀÖ´Â °Í °°¾Ò½À´Ï´Ù.

[oracle@localhost admin]$ lsnrctl status

LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 02-MAR-2022 16:17:03

Copyright (c) 1991, 2019, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.172)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                    LISTENER
Version                  TNSLSNR for Linux: Version 19.0.0.0.0 - Production
Start Date                02-MAR-2022 16:15:23
Uptime                    0 days 0 hr. 1 min. 39 sec
Trace Level              off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File  /opt/oracle/product/19.3/dbhome/network/admin/listener.ora
Listener Log File        /opt/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=***********)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "ORCL.JHG.COM" has 1 instance(s).
  Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "ORCLXDB.JHG.COM" has 1 instance(s).
  Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "d7bf676e35ad371ce055000000000001.JHG.COM" has 1 instance(s).
  Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "orclpdb.JHG.COM" has 1 instance(s).
  Instance "ORCL", status READY, has 1 handler(s) for this service...
The command completed successfully

¿©±â¼­ ¼­ºñ½º µµ¸ÞÀÎÀÌ µÈ ºÎºÐÀÌ ¹®Á¦ÀÎ °Í °°Àºµ¥ ¼öÁ¤Çϰųª È®ÀÎÇÏ´Â ¹æ¹ýÀ» ¸ð¸£°Ú½À´Ï´Ù ¤Ð¤Ð
HOST=******** IP´Â Á¦°¡ ÀÓÀÇ·Î ¸¶½ºÅ·Ã³¸® Çسõ¾Ò½À´Ï´Ù.
db´Â ¸ð¸£Áö¸¸ Ȥ½Ã mysql Á¢¼Ó°ú Çò°¥¸®½Ã´Â°Í ¾Æ´Ï½ÅÁö¿ä?
mysql -u °èÁ¤ -p    ÀÌ·±½ÄÀ¸·Î Á¢¼ÓÇÏ´Â °ÍÀ¸·Î ¾Ë°í ÀÖ½À´Ï´Ù.


QnA
Á¦¸ñPage 520/5654
2014-05   4843792   Á¤ÀºÁØ1
2015-12   1388478   ¹é¸Þ°¡
2019-11   3156   ¸Ó¸®°¨ÀÚ
2022-09   1902   pibang
2014-01   5729   Á¤Èñ¼·
2015-05   4686   ·ÎÆ®1
2015-05   5847   ±è°Ç¿ì
2022-10   2518   ǪÀÌÀ×À×
2011-10   4554   Â̱êÂ̱êÇܽº
2014-01   5098   ´ÞºÀÀÌ
2014-01   5030   ±èÀ±¼ú
2021-02   2130   È¥ÀÚ°¡´Â±æ
2011-10   4669   ·Î±×¾Æ¿ô
2014-02   3610   ȲÁø¿ì
2018-10   4160   lovin09
05-27   908   ¹Ù¶÷°õµ¹
2016-07   4006   °ÉÀνÅȫö
2011-11   4700   ¼ø¯
06-05   1038   °¡¿Â´©¸®I°­¡¦
2015-06   14537   ¿¥ºê¸®¿À
2021-03   2735   ±èÁø¿µJK
2011-11   5507   ¼öÆÛ¸Ç1