在win7下安装了Oracle的OracleXE112_Win32快捷版数据库,现在想通过在ubuntu下安装Oracle客户端来sqlplus连接到win7下的Oracle数据库服务器
1、Ubuntu下可以安装Oracle数据库的客户端么?哪里下载? Oracle官网下载的不知道安装哪一个
2、安装完后环境变量什么的怎么配置,才可以运行 sqlplus 命令?
求解:虚拟机下的Ubuntu连接win7的Oracle数据库
-
- 帖子: 1
- 注册时间: 2011-11-08 19:33
- astolia
- 论坛版主
- 帖子: 6447
- 注册时间: 2008-09-18 13:11
-
- 帖子: 20
- 注册时间: 2014-03-20 22:37
- 系统: ubuntu 12.04
Re: 求解:虚拟机下的Ubuntu连接win7的Oracle数据库
安装https://help.ubuntu.com/community/Oracle%20Instant%20Client 一步一步安装完了,tnsnames.ora也配置了,但是用sqlplus命令连接不上数据库。
jiao@ebsres:~$ sqlplus erp/erp123@erpserv
SQL*Plus: Release 10.2.0.5.0 - Production on Thu Nov 20 14:19:55 2014
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name:
怎么办啊
jiao@ebsres:~$ sqlplus erp/erp123@erpserv
SQL*Plus: Release 10.2.0.5.0 - Production on Thu Nov 20 14:19:55 2014
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name:
怎么办啊
-
- 帖子: 20
- 注册时间: 2014-03-20 22:37
- 系统: ubuntu 12.04
Re: 求解:虚拟机下的Ubuntu连接win7的Oracle数据库
安装https://help.ubuntu.com/community/Oracle%20Instant%20Client 一步一步安装完了,tnsnames.ora也配置了,但是用sqlplus命令连接不上数据库。
jiao@ebsres:~$ sqlplus erp/erp123@erpserv
SQL*Plus: Release 10.2.0.5.0 - Production on Thu Nov 20 14:19:55 2014
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name:
怎么办啊
jiao@ebsres:~$ sqlplus erp/erp123@erpserv
SQL*Plus: Release 10.2.0.5.0 - Production on Thu Nov 20 14:19:55 2014
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name:
怎么办啊