装好之后应该是打开Plus吧,然后要输入用户名口令,不知道为什么我设置那个账户说适配器错误,可能是我忘记密码了,但是应该怎么修改呢,网上说cmd里打sqlplus / as sysdba---------以sys登陆,可是我打进去也是说适配器错误啊,而且用那些默认账号也进不去,说无法解析指定的连接标识符,各位大大帮帮忙~~!!
解决方案 »
- oracle 高级sql 列转行
- 下面这四个事务用两段加锁协议之后会造成死锁吗?
- Oracle Logon
- OC4J、DatabaseControl、emctl、grid control是什么, 有什么区别?他们对于数据库和实例的关系?
- oracle8.17安装之后,没有pro*c的编译器,如何得到,另外pro*c的预编译器的文件名是不是proc.exe呢,谢谢。
- C#访问Oracle,出现错误提示:表不存在!可是表实际上是存在的,请高人指点!谢谢
- NCLOB类型字段查询问题?
- 安装ORACLE的问题
- 请问谁有Oracle编程接口OCI的说明文档,最好中文,英文也可
- oracel做了内外网ip映射无法远程连接
- oracle安装不上啊???
- 求partition的用法 报错invalid SQL statement
如果是客户端,需要连接别的数据库主机;
如果是服务端的,可以启动本机上的orcl服务,才可以连;看看你的Tnsnames.ora是如何配置的。
# 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.<alias>= [ (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=<community_name>) ]
(PROTOCOL=tcp)
(HOST=<hostname>)
(PORT=<portnumber (1521 is a standard port used)>)
)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=<ipckey (PNPKEY is a standard key used)>)
)
]
[ (ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=decnet)
(NODE=<nodename>)
(OBJECT=<objectname>)
)
]
... # More addresses
[ ) ] # Optional depending on whether ADDRESS_LIST is used or not
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_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=<community_name>) ]
(PROTOCOL=tcp)
(HOST=<hostname>)
(PORT=<portnumber (1521 is a standard port used)>)
)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=<ipckey (PNPKEY is a standard key used)>)
)
]
... # More addresses
[ ) ] # Optional depending on whether ADDRESS_LIST
# is being used
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
)
]
[ (SOURCE_ROUTE=yes) ]
)
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
)
]
... # More descriptions
[ ) ] # Optional depending on whether DESCRIPTION_LIST is used or not
connect /as sysdba
你就可以改那几个用户的account和password了。alter user scott account unlock;
然后修改scott密码,alter user scott identified by 你的新密码
其他的都一样