The first oracle database connection in this way, to engage in their own Baidu nearly two hours to make things right, Baidu's resources do not fly, do not read a lot of integrity, and to engage in a variety of errors reported over various Rom databases, organize their own following information, want to be drawing to other peers, we can not guarantee that everyone is successful! After all, sometimes really have to see the character, and Oh!
The first step: install the client plsql, plsql client is a must, my colleagues gave plsql (the English version of the client) installation is very simple (NEXT NEXT .......) do not explain !
Second step : Download the oracle client I am a 64-bit operating system comes Download: http://download.csdn.net/detail/u013817689/7244611 not integral, brothers provide resources to the force, under the so-called period of 32 months perfect version of said support 64-bit operating system, it took 5 points, not practical, really black! If the suggestion is a 64-bit operating system to download the address above my client.
Is then extracting installation oracle64 bit Client Instant Client v11.2.0.3.0 (64-bit)
I chose these items above, then the next step is to install Next
The third step : Configure plsql - tool - connection configuration oracle home directory path name and coi library path
Step Four: Configure the system environment variables ORACLE_HOME
Finally, configure the listener: D: \ Oracle \ Instant Client \ network \ admin folder below the tnsnames.ora write library you want to connect
# tnsnames.ora Network Configuration File: F:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
MES =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.6.6)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
MES:就是你本地命名的名称
ADDRESS:服务器的地址
PROTOCOL:使用的协议,这里是TCP的
PORT:服务器的监听端口号
SERVICE_NAME:服务器服务名称
If your last appeared plsql interface connected to a "local naming names" for the label as well as drop-down box and the database to prove that you configured correctly
Congratulations able to connect up!
Why are my words of Chinese plsql because I finished the plsql finished package Download: http://www.cr173.com/soft/61280.html#address
If the database garbled supplement: configure the environment variables : NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK can be resolved