Connect oracle database error in sqlplus: ORA-12560: TNS: protocol adapter error

crispwqh發表於2007-08-24

First make sure the TNS listener and other database services are started in the services control panel, then choose one of the following methods.

  1. C:>set ORACLE_SID = S01 before connecting
  2. Edit registration. Type regedit in command line, to HKEY_LOCAL_MACHINESOFTWAREORACLEHOME0, change the variance ORACLE_SID to your database sid (From sap forums)
  • Right click ‘my computer’, propertiesà advancedà environmental variancesàsystem variancesà new name=oracle_sid, value=your database sid (From sap forums)
  • [@more@]

    來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8433094/viewspace-965575/,如需轉載,請註明出處,否則將追究法律責任。

    相關文章