安装了:
64位Oracle 11g R2 DB product安装地址 D:\Learning\Oracle\product
32位Oracle 11g Client product安装地址 D:\Learning\Oracle\win32_11g__Client\product
plsql development 9
按照网上的步骤下载了 instantclient_11_2压缩文件,解压到了D:\Learning\Oracle。
未登录状态下在plsql工具-首选项进行了以下配置:
也添加了环境变量
1、
2、这个ORACLE_HOME地址我写的64位Oracle 11g R2 DB的地址 我也不知道是否正确
3、
启动了以下的服务:
登陆的时候依然没有出来数据库:
在网上搜说D:\Learning\Oracle\product\NETWORK\ADMIN\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.
<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>)
)
]
7 个解决方案
#1
你是64位的oracle,但是安装的客户端是32位的,这个在本地应该是连不上的。
#2
另外,你试试用sqlplus 连接试试
#3
你有qq不,方便的话,帮你看看把
#4
非常感谢!
#5
朋友我的问题跟你的一模一样,求解决方法。
#6
朋友看到回复,麻烦发个邮件(zqh256@qq.com)给我,焦急焦急啊。
#7
网上有说是要求pl/sql的版本要在9以后,我的尽管是9的但是复用了重装系统之前的安装文件,所以我果断的重新下了个10的然后就行了。遇到同样的问题的朋友可以试试看,不要纠结于怎么解决烂摊子,重新开始可能效果更好。
#1
你是64位的oracle,但是安装的客户端是32位的,这个在本地应该是连不上的。
#2
另外,你试试用sqlplus 连接试试
#3
你有qq不,方便的话,帮你看看把
#4
非常感谢!
#5
朋友我的问题跟你的一模一样,求解决方法。
#6
朋友看到回复,麻烦发个邮件(zqh256@qq.com)给我,焦急焦急啊。
#7
网上有说是要求pl/sql的版本要在9以后,我的尽管是9的但是复用了重装系统之前的安装文件,所以我果断的重新下了个10的然后就行了。遇到同样的问题的朋友可以试试看,不要纠结于怎么解决烂摊子,重新开始可能效果更好。