Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Oracle OSÈÏÖ¤ÒÔ¼°¿ÚÁîÎļþ

 1.OSÈÏÖ¤
Oracle°²×°Ö®ºóĬÈÏÇé¿öÏÂÊÇÆôÓÃÁËOSÈÏÖ¤µÄ£¬ÕâÀïÌáµ½µÄosÈÏÖ¤ÊÇÖ¸·þÎñÆ÷¶ËosÈÏÖ¤¡£OSÈÏÖ¤µÄÒâ˼°ÑµÇ¼Êý¾Ý¿âµÄÓû§ºÍ¿ÚÁîУÑé·ÅÔÚÁ˲Ù×÷ϵͳһ¼¶¡£Èç¹ûÒÔ°²×°OracleʱµÄÓû§µÇ¼OS£¬ÄÇô´ËʱÔڵǼOracleÊý¾Ý¿âʱ²»ÐèÒªÈκÎÑéÖ¤£¬È磺
SQL> connect /as sysdba
ÒÑÁ¬½Ó¡£
SQL> connect sys/aaa@test as sysdba
ÒÑÁ¬½Ó¡£
SQL> connect sys/bbb as sysdba
ÒÑÁ¬½Ó¡£
SQL> connect aaa/bbb as sysdba
ÒÑÁ¬½Ó¡£
SQL> show user
SYS
SQL>
²»ÂÛÊäÈëʲôÓû§£¨ÄÄÅÂÕâ¸öÓû§ÈçaaaÔÚÊý¾Ý¿âÖиù±¾²»´æÔÚ£©£¬Ö»ÒªÒÔsysdbaȨÏÞÁ¬½ÓÊý¾Ý¿â£¬¶¼¿ÉÒÔÁ¬½ÓÉÏ£¬²¢ÇÒÁ¬½ÓÓû§ÊÇsys£¬ÕâÑùºÜ·½±ã£¬ÓÐʱºò£¬Èç¹ûÍü¼ÇÁËÊý¾Ý¿âµÄÃÜÂ룬¶øÓÖÏëµÇ¼Êý¾Ý¿â£¬¿ÉÒÔͨ¹ýÕâÖÖ·½Ê½£¬Ç°ÌáÊÇÔÚÊý¾Ý¿â·þÎñÆ÷ÉÏ.
µ«ÊÇ·½±ãµÄͬʱҲ´øÀ´ÁËһЩ°²È«Òþ»¼£¬ÓÚÊǺܶàÈËÏëÆÁ±ÎosÈÏÖ¤£¬
ÔÚwinÏÂÖ»Òª°Ñoracle_home/NETWORK/admin/sqlnet.oraÖеÄSQLNET.AUTHENTICATION_SERVICES= (nts)nts¸Ä³Énone»òÕß×¢Ê͵ôÕâ¾ä»°(ÔÚÇ°Ãæ¼ÓÉÏ#)£¬¾Í¿ÉÒÔÆÁ±Îos¹¦ÄÜ£¬ÒªÏëÒÔsysÓû§Á¬ÉÏÊý¾Ý¿â±ØÐëÊäÈëÕýÈ·µÄsys¿ÚÁ»òÕß¿ÉÒÔ°ÑoracleµÄ°²×°Óû§´Ó×éora_dbaÖÐɾ³ýµô£¬µ±È»Ò²¿ÉÒÔÖ±½Ó°Ñora_dbaÕâ¸ö×éҲɾ³ý£¬¶¼¿ÉÒÔÆÁ±Îos¹¦ÄÜ.È磺
SQL> connect /as sysdba
ERROR:
ORA-01031: ȨÏÞ²»×ã
SQL> connect sys/aaa as sysdba
ERROR:
ORA-01017: Óû§Ãû/¿ÚÁîÎÞЧ; µÇ¼±»¾Ü¾ø
SQL> connect aaa/bbb as sysdba
ERROR:
ORA-01031: ȨÏÞ²»×ã
SQL> connect sys/system as sysdba
ÒÑÁ¬½Ó¡£
SQL>
ÔÚunix/linuxÏÂÒ²¿ÉÒÔÔÚÎļþsqlnet.oraÖÐÔö¼ÓSQLNET.AUTHENTICATION_SERVICES=(none)ÒÔ¼°É¾³ýdba(groupdel dba)×é»òÕß°ÑoracleÓû§´Ódba×éÖÐɾ³ý¶¼¿ÉÒÔÆÁ±ÎosÈÏÖ¤¡£ÀûÓÃÕâÁ½ÖÖ·½·¨ÆÁ±Îos¹¦ÄÜËÆºõ×ÜÓÐЩÈÃÈ˲»·ÅÐÄ£¬»òÕß˵²»ÄÜÈÃÈËÍêÈ«ÐÅ·þ£¬ÒòΪ±Ï¾¹ÏµÍ³¹ÜÀíÔ±»¹ÊÇ¿ÉÒÔ´´½¨ora_dba or dba×éÒÔ¼°ÐÞ¸Äsqlnet.oraÎļþ......
2. ¿ÚÁîÎļþ
OracleµÄ¿ÚÁîÎļþµÄ×÷ÓÃÊÇ´æ·ÅËùÓÐÒÔsysdba»òÕßsysoperȨÏÞÁ¬½ÓÊý¾Ý¿âµÄÓû§µÄ¿ÚÁÈç¹ûÏëÒÔsysdbaȨÏÞÔ¶³ÌÁ¬½ÓÊý¾Ý¿â£¬±ØÐëʹÓÿÚÁîÎļþ£¬·ñÔò²»ÄÜÁ¬ÉÏ£¬ÓÉÓÚsysÓû§ÔÚÁ¬½ÓÊý¾Ý¿âʱ±ØÐëÒÔsysdba or sysoper·½Ê½£¬Ò²¾ÍÊÇ˵sysÓû§ÒªÏëÁ¬½ÓÊý¾Ý¿â±ØÐëʹÓÿÚÁîÎļþ£¬Òò´ËÎÒÈÏΪÔÚÊý¾Ý¿âÖдæ·ÅsysÓû§µÄ¿ÚÁîÆäʵûÓÐÈκÎÒâÒ壡ʹÓÿÚÁîÎļþµÄºÃ´¦ÊǼ´Ê¹Êý¾Ý¿â²»´¦ÓÚopen״̬£¬ÒÀÈ»¿ÉÒÔͨ¹ý¿ÚÁîÎļþÑéÖ¤À´Á¬½ÓÊý¾Ý¿â¡£¿ªÊ¼°


Ïà¹ØÎĵµ£º

oracle¹ºÂò·½Ê½

×÷ΪoracleµÄÏúÊÛÕæÐÄÕæÒâµÄÔ­ÒâÓë´ó¼Ò·ÖÏíoracleµÄÒ»ÇУ¬ÎÒÕâ±ß²»ÊÇÇþµÀ£¬ÊÇoracle×ÊÉî×Ü´úÀí£¨ÖйúÈí¼þÓë¼¼Êõ·þÎñ¹É·ÝÓÐÏÞ¹«Ë¾£©£¬Ï£Íû´ó¼ÒÓйºÂòoracleÒâÔ¸µÄʱºò¼ÇµÃÎÒ£¨ÕÔÌìÊæ   15010529916£©£¬ÎһᾡÎÒËùÄܵİïÖú´ó¼Ò¡£
   ×î½üÓкܶàÈËÎÊÎÒoracleµÄ¹ºÂò·½Ê½£ºÔÚÕâÀïÎÒÏë²ûÊöµÄÊÇÉÌÎñÉϵĹºÂò· ......

oracle 8i,9iºÍ10g µÄÇø±ð

Oracle 9i±È8i¶àÁËÄÄЩÐÂÌØÐÔ£¿
 ¼òҪ˵£º
    9i¸üÒ×ÓÚ¹ÜÀí¡£
Ïêϸ˵£º
    ²¢·¢¼¯Èº£¬8i OPSÉý¼¶Îª9i RAC£¬8i½áµã¼äÓÃÓ²Å̽»»»ÐÅÏ¢£¬9i½áµã¼ä²ÉÓøßËÙÍøÏߵĻº´æÈÛºÏ(Cache Fusion)¼¼Êõ½»»»ÐÅÏ¢£¬½»»»ËÙ¶ÈÌá¸ß100±¶ÒÔÉÏ¡£
    9i¿ÉÒÔÔÚÏßÐÞ¸ÄÄں˲ÎÊýºÍÄÚ´æ·ÖÅä£ ......

Íêȫɾ³ýOracle


ʵÏÖ·½·¨£º
     1¡¢¿ªÊ¼£­£¾ÉèÖã­£¾¿ØÖÆÃæ°å£­£¾¹ÜÀí¹¤¾ß£­£¾·þÎñÍ£Ö¹ËùÓÐOracle·þÎñ¡£
     2¡¢¿ªÊ¼£­£¾³ÌÐò£­£¾Oracle - OraHome81£­£¾Oracle Installation Products£­£¾Universal Installer
жװËùÓÐOracle²úÆ·£¬µ«Universal Installer±¾Éí²»Äܱ»É¾³ý
  &nb ......

ORACLEÓɽű¾µ½´´½¨Êý¾Ý¿âÍêÕû¹ý³Ì¡£

£¨1£©ÒÔSYSÉí·ÝµÇ½
conn sys/sysem_pwd as sysdba;
£¨2£©´´½¨amlyÓû§
create user amly identified by 9imly;
£¨3£©´´½¨±í¿Õ¼ä
create tablespace ts_amly datafile 'd:\amlyfile\test.dbf' size 100M;
£¨4£©½«±í¿Õ¼ä·ÖÅ䏸Óû§
alter user amly default tablespace ts_amly;
£¨5£©¸øÓû§ÊÚȨ
grant create sess ......

oracle method

--single line method
select ascii('A') Big_A from dual;
select chr(65) A, chr(122) z, chr(223) ch3 from dual;
select concat('sigo','way') from dual;
select initcap('sigoway') from dual;
select instr('ababab','a',-1,2), instr('ababab','a',1,3) from dual;
select instrb('ababab','a',1,3) from dua ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ