我的Oracle数据库的版本是8.1.5
我的本地机器操作系统是Windows 2000 Server,安装了Oracle 8i数据库和OEM;
远程机器操作系统是Windows 2000 Professional,只安装了Oracle 8i数据库。
在本地机器上,OEM中可以看到本地的数据库,一切操作正常。
OEM的“Navigator”窗格显示如下:
Network
|
-Databases
||
|-mydb /* mydb是本地数据库 */
|-redb /* redb是远程数据库 */
-Groups
|
-Listeners
|
-Nodes
|
-mycomputer /* mycomputer是本地机器名 */
|
-recomputer /* recomputer是远程机器名 */
我在本地机器上配置好了访问远程机器上Oracle数据库的网络服务名,通过Sql*Plus可以连接到远程数据库。
连接后显示如下:
连接到:
Oracle8i Release 8.1.5.0.0 - Production
With the Java option
PL/SQL Release 8.1.5.0.0 - Production
SQL>
但是当我在本地机器的OEM中的Navigator窗格中点击远程数据库redb前面的“+”号时,
出现“Database Connect Information”对话框:
Username:
Password:
Service:orcl /* 这里是灰的,不能修改 ??????? */
Connect as: Normal
□Save as Preferred Credential
我输入访问远程机器上数据库的用户名和密码,点击“Ok”按钮,一会儿出现一个对话框,提示出错:
ORA-12545:Connect failed because target host or object does not exist
请问:
一、在“Database Connect Information”对话框中的“Save as Preferred Credential”复选框是什么意思?
二、为什么我在Sql*Plus中可以连接到远程数据库,但通过OEM不行以?
三、“监听”是什么?如何在数据库服务器端和客户端配置监听程序?请推荐一下相关资料。
先谢过了!
分不够可以再开帖子给分。
一、在“Database Connect Information”对话框中的“Save as Preferred Credential”复选框是什么意思?
set up the default connection setting . so you dont need to key in the user name and password every time.
二、为什么我在Sql*Plus中可以连接到远程数据库,但通过OEM不行以?
you should find some place to key in the service name otherwise its impossible for you to connect the remote DB
三、“监听”是什么?如何在数据库服务器端和客户端配置监听程序?请推荐一下相关资料。
listener . it works just like its name : sitting in the server side and listening the incoming connection from client . listener.ora is the configuration file . you can set it up by using net assistant .