正文
oracle连接远程数据库查询,oracle 远程连接配置tnsnamesora
小程序:扫一扫查出行
【扫一扫了解最新限行尾号】
复制小程序
【扫一扫了解最新限行尾号】
复制小程序
oracle远程数据库连接(局域网访问)
若oracle服务器装在本机上,连接时只需要用户名和密码就可以了。不过要注意环境变量是否设置。本机未安装oracle服务器,也未安装oracle客户端。但是安装了管理数据库的工具。
连接远程oracle数据库,首先网络要畅通,然后需要知道远程数据库的IP地址,数据库端口号,用户名,密码,数据库服务名等信息。本地要安装oracle客户端,在如下路径找到tnsname.ora文件。
通常情况下已经安装64位的oracle数据库情况下,如果安装32位的PLSQL将会出现无法成功登陆连接远程数据库的问题,这个时候我们需要安装32的oracle客户端来解决无法成功登陆的问题。
需要知道数据库主机的IP地址,数据库端口号,服务名称,数据库账户及密码才可以连接。首先在本地oracle的安装目录下找到找到tnsnames.ora文件。
怎么远程连接到服务器oracle数据库(oracle创建远程数据库连接)
打开记事本trsnames.ora将记事本内容修改为远程数据库连接语句。
配置好相关oracle连接远程数据库查询的文件就可以oracle连接远程数据库查询,一般是tnsname.ora文件。 一般oracle10g的文件所在目录为oracle连接远程数据库查询:C:oracleproct.0db_1etworkADMIN 其他版本的可在oracle目录下搜索tnsname.ora文件名进行修改。
连接远程oracle数据库oracle连接远程数据库查询,首先网络要畅通oracle连接远程数据库查询,然后需要知道远程数据库的IP地址,数据库端口号,用户名,密码,数据库服务名等信息。本地要安装oracle客户端,在如下路径找到tnsname.ora文件。
找到$ORACLE_HOME/client_1/network/admin目录下的tnsnames.ora文件,并用文本模式打开。
打开oracle客户端中的net manager,配置要远程连接的数据库名、IP地址等,如果net manager中没有要远程连接的数据库名,则新建即可。其他步骤与第二种情况中的2---5相同。
如何使用PLSQL连接远程服务器oracle数据库
1、打开记事本trsnames.ora将记事本内容修改为远程数据库连接语句。
2、PLSQL连接Oracle客户端打开PL/SQL Developer工具oracle连接远程数据库查询,来到登录界面。不登录直接点击“取消“oracle连接远程数据库查询,然后会进入到主界面,如下oracle连接远程数据库查询:接着选择上方的菜单栏:Tools -- Preferences,设置 Oracle Home 和 OCI library 。
3、找到PL/SQL Developer程序的启动快捷方式。我们双击桌面快捷方式,出现界面的对话框。安装oracle client之后,我们到oracle client的安装目录下,进入到network/ADMIN目录下,看到有个tnsnames.ora文件。
4、打开plsql的安装目录。点开安装目录,找到客户端的安装目录instantclient。点开目录network/admin,找到文件tnsnames.ora。用文本编辑器打开tnsnames.ora,可以看到里面配置oracle连接远程数据库查询了很多数据库连接。
关于oracle连接远程数据库查询和oracle 远程连接配置tnsnamesora的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。