ITPub博客

首页 > 数据库 > Oracle > Connect oracle database error in sqlplus: ORA-12560: TNS: protocol adapter error

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

原创 Oracle 作者:crispwqh 时间:2007-08-24 16:44:16 0 删除 编辑

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)
  3. 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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    12
  • 访问量
    5510