oracleÁ½ÖÖÓû§ÈÏÖ¤·½Ê½
ORACLEÊý¾Ý¿âͨ¹ýsqlnet.oraÎļþÖеIJÎÊýsqlnet.authentication_services,²ÎÊýÎļþÖеÄremote_login_passwordfileºÍ¿ÚÁîÎļþpwdsid.oraÈýÕßÐͬ×÷ÓÃʵÏÖÉí·ÝÈÏÖ¤.
Sqlnet.authentication_services=(NTS)|(NONE)
NTS:²Ù×÷ϵͳÈÏÖ¤·½Ê½,²»Ê¹ÓÿÚÁîÎļþ;
NONE:¿ÚÁîÎļþÈÏÖ¤·½Ê½
Remote_login_passwordfile=(NONE)|(EXCLUSIVE)|(SHARED)
NONE:²»Ê¹ÓÿÚÁîÎļþ,²Ù×÷ϵͳÈÏÖ¤;
EXCLUSIVE:¿ÚÁîÎļþÈÏÖ¤·½Ê½,µ«Ö»ÓÐÒ»¸öÊý¾Ý¿âʵÀý¿ÉÒÔʹÓôËÎļþ;
SHARED:¿ÚÁîÎļþÈÏÖ¤·½Ê½,¿ÉÒÔÓжà¸öÊý¾Ý¿âʵÀý¿ÉÒÔʹÓôËÎļþ,µ«´ËÉèÖÃÏÂÖ»ÓÐSYSÕʺÅÄܱ»Ê¶±ð,¼´Ê¹ÎļþÖдæÔÚÆäËûÓû§µÄÐÅÏ¢,Ò²²»ÔÊÐíËûÃÇÒÔSYSOPER/SYSDBAµÇ¼.
(1).sqlnet.authentication_services=(NTS)
ͬʱRemote_login_passwordfile=(NONE),´ËʱΪ²Ù×÷ϵͳÈÏÖ¤·½Ê½.
µ±ÒÔoracle_dba×éϵÄÓû§µÇ¼½øÈë±¾µØµÄ²Ù×÷ϵͳºó,½øÐÐÒÔϲÙ×÷:
sqlplus /nolog
SQL>conn /assysdba
¿ÉÒÔÒÔsysdbaÉí·ÝµÇ¼³É¹¦,½øÐÐÊý¾Ý¿â·½ÃæµÄ²Ù×÷.
µ±ÒÔÔ¶³Ì½øÐеǼʱ,Ö´ÐÐ:
sqlplus /nolog
SQL>conn /assysdba
Ôò»áÏÔʾ:
ERROR:ORA-01031:insufficient privileges
¼´²»ÔÊÐíÒÔsysdbaÉí·ÝÔ¶³ÌµÇ¼ϵͳ,ÕâÒ²ÊÇOSÈÏÖ¤ÕâËùÒÔ³ÆΪ±¾µØÈÏÖ¤·½Ê½µÄÔÒò.
(2).Sqlnet.authentication_services=(NONE),ͬʱ
Remote_login_passwordfile=(EXCLUSIVE)|(SHARED),ÅäºÏ¿ÚÁîÎļþPWDsid.ora,´ËʱΪ¿ÚÁîÎļþÈÏÖ¤·½Ê½:
µ±ÔÚ±¾µØÒÔoracle_dba×éϵÄÓû§µÇ¼½øÈëϵͳʱ,½øÐÐÒÔϲÙ×÷:
sqlplus /nolog
SQL>conn /assysdba
Ôò»áÏÔʾ:
ERROR:ORA-01031:insufficient privileges
ÔÚ±¾µØ»òÔ¶³Ì½øÐÐϱߵIJÙ×÷:
sqlplus /nolog
SQL>conn sys/ÃÜÂë@·þÎñÃûassysdba
¿ÉÒÔ½øÈëϵͳ,Ò²¾ÍÊÇ˵¿ÚÁîÎļþÈÏÖ¤·½Ê½ÔÊÐíÓû§´Ó±¾µØ»òÔ¶³ÌÒÔsysdbaÉí·ÝµÇ¼,µ«±ØÐëÌṩ¿ÚÁî×Ö.
(3).Sqlnet.authentication_services=(NTS),ͬʱ
Remote_login_passwordfile=(EXCLUSIVE)|(SHARED),ÅäºÏ¿ÚÁîÎļþPWDsid.ora,´ËʱΪ²Ù×÷ϵͳÈÏÖ¤ºÍ¿ÚÁîÎļþÈÏ֤ͬʱÆð×÷ÓÃ:
µ±ÔÚ±¾µØÒÔoracle_dba×éϵÄÓû§µÇ¼½øÈë²Ù×÷ϵͳºó,½øÐÐϱߵIJÙ×÷:
sqlplus /nolog
SQL>conn /assysdba
¿ÉÒÔ½øÈëϵͳ.¼´²Ù×÷ϵͳÈÏÖ¤·½Ê½µÇ¼³É¹¦.
µ±ÔÚÔ¶³ÌÖ´ÐÐ:
sqlplus /nolog
SQL>conn sys/ÃÜÂë@·þÎñÃûassysdba
ͬʱ¿ÉÕý³£µÇ¼µ½Êý¾Ý¿âϵͳ,¼´¿ÚÁîÎļþÈÏÖ¤·½Ê½µÇ¼³É¹¦.
¸½£º
ÒªÖªµÀÒÔϼ¸Öֵǽ·½Ê½²»ÊÇÒ»ÖÖ¸ÅÄî
sqlplus /nolog
1: conn /ass
Ïà¹ØÎĵµ£º
oracle±í¿Õ¼ä²Ù×÷Ïê½â
1
2
3×÷Õߣº À´Ô´£º ¸üÐÂÈÕÆÚ£º2006-01-04
5
6
7½¨Á¢±í¿Õ¼ä
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
ORACLE±¸·Ý²ßÂÔ(ORACLE BACKUP STRATEGY)
2007Äê11ÔÂ02ÈÕ ÐÇÆÚÎå 16:03
¸ÅÒª
1¡¢Á˽âʲôÊDZ¸·Ý
2¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
3¡¢Àí½âÊý¾Ý¿âµÄÁ½ÖÖÔËÐз½Ê½
4¡¢Àí½â²»Í¬µÄ±¸·Ý·½Ê½¼°ÆäÇø±ð
5¡¢Á˽âÕýÈ·µÄ±¸·Ý²ßÂÔ¼°ÆäºÃ´¦
Ò»¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
¿ÉÒÔ˵£¬´Ó¼ÆËã»úϵͳ³öÊÀµÄÄÇÌìÆ𣬾ÍÓÐÁ˱¸·ÝÕâ¸ö¸ÅÄ ......
http://fangrn.javaeye.com/blog/514448
³õʶ oracle ÖеÄË÷Òý×éÖ¯±í
Ë÷Òý×éÖ¯±í£¨ IOT £©ÓÐÒ»ÖÖÀà B Ê÷µÄ´æ´¢×éÖ¯·½·¨¡£ÆÕͨµÄ¶Ñ×éÖ¯±íÊÇÒÔÒ»ÖÖÎÞÐòµÄ¼¯ºÏ´æ´¢¡£¶ø IOT ÖеÄÊý¾ÝÊÇ°´Ö÷¼üÓÐÐòµÄ´æ´¢ÔÚ B Ê÷Ë÷Òý½á¹¹ÖС£ÓëÒ»°ã B Ê÷Ë÷Òý²»Í¬µÄµÄÊÇ£¬ÔÚ IOT ÖÐÿ¸öÒ¶½áµã¼´ÓÐÿÐеÄÖ÷¼üÁÐÖµ£¬ÓÖÓÐÄÇЩ· ......
Oracle TNS¼òÊö
ʲôÊÇTNS?
TNSÊÇOracle NetµÄÒ»²¿·Ö,רÃÅÓÃÀ´¹ÜÀíºÍÅäÖÃOracleÊý¾Ý¿âºÍ¿Í»§¶ËÁ¬½ÓµÄÒ»¸ö¹¤¾ß,ÔÚ´ó¶àÊýÇé¿öÏ¿ͻ§¶ËºÍÊý¾Ý¿âҪͨѶ,±ØÐëÅäÖÃTNS,µ±È»ÔÚÉÙÊýÇé¿öÏÂ,²»ÓÃÅäÖÃTNSÒ²¿ÉÒÔÁ¬½ÓOracleÊý¾Ý¿â,±ÈÈçͨ¹ýJDBC.Èç¹ûͨ¹ýTNSÁ¬½ÓOracle,ÄÇô¿Í»§¶Ë±ØÐë°²×°Oracle client³ÌÐò.
TNSÓÐÄÇЩÅäÖÃÎļþ ......
¼Ç¼һÏÂORACLE 10gR2µÄÈí¼þÏÂÔصØÖ·£¬±¸Óá£
ÏÂÔØOTNÉϵÄÕâЩÈí¼þ£¬ÄãÐèÒªÒ»¸öOTNÃâ·ÑÕʺţ¬²»¹ýÈç¹ûͨ¹ýѸÀ×½øÐÐÏÂÔØ£¬¾Í²»ÓõǽOTNÁË£º
Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database ......