oracle 9i tns 许可,oracle9i 创建数据库时出现 12546:tns 许可被拒绝 的错误;

#3

大写的; TNSNAMES.ORA

# This file contains the syntax information for

# the entries to be put in any tnsnames.ora file

# The entries in this file are need based.

# There are no defaults for entries in this file

# that Sqlnet/Net3 use that need to be overridden

#

# Typically you could have two tnsnames.ora files

# in the system, one that is set for the entire system

# and is called the system tnsnames.ora file, and a

# second file that is used by each user locally so that

# he can override the definitions dictated by the system

# tnsnames.ora file.

# The entries in tnsnames.ora are an alternative to using

# the names server with the onames adapter.

# They are a collection of aliases for the addresses that

# the listener(s) is(are) listening for a database or

# several databases.

# The following is the general syntax for any entry in

# a tnsnames.ora file. There could be several such entries

# tailored to the user's needs.

= [ (DESCRIPTION_LIST =  # Optional depending on whether u have

# one or more descriptions

# If there is just one description, unnecessary ]

(DESCRIPTION=

[ (SDU=2048) ] # Optional, defaults to 2048

# Can take values between 512 and 32K

[ (ADDRESS_LIST=    # Optional depending on whether u have

# one or more addresses

# If there is just one address, unnecessary ]

(ADDRESS=

[ (COMMUNITY=) ]

(PROTOCOL=tcp)

(HOST=)

(PORT=)

)

[ (ADDRESS=

(PROTOCOL=ipc)

(KEY=)

)

]

[ (ADDRESS=

[ (COMMUNITY=) ]

(PROTOCOL=decnet)

(NODE=)

(OBJECT=)

)

]

... # More addresses

[ ) ] # Optional depending on whether ADDRESS_LIST is used or not

[ (CONNECT_DATA=

(SID=)

[ (GLOBAL_NAME=) ]

)

]

[ (SOURCE_ROUTE=yes) ]

)

(DESCRIPTION=

[ (SDU=2048) ] # Optional, defaults to 2048

# Can take values between 512 and 32K

[ (ADDRESS_LIST= ] # Optional depending on whether u have more

# than one address or not

# If there is just one address, unnecessary

(ADDRESS

[ (COMMUNITY=) ]

(PROTOCOL=tcp)

(HOST=)

(PORT=)

)

[ (ADDRESS=

(PROTOCOL=ipc)

(KEY=)

)

]

...  # More addresses

[ ) ]  # Optional depending on whether ADDRESS_LIST

# is being used

[ (CONNECT_DATA=

(SID=)

[ (GLOBAL_NAME=) ]

)

]

[ (SOURCE_ROUTE=yes) ]

)

[ (CONNECT_DATA=

(SID=)

[ (GLOBAL_NAME=) ]

)

]

...   # More descriptions

[ ) ] # Optional depending on whether DESCRIPTION_LIST is used or not

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值