The basic tutorial on connecting oracle clients to servers is generally like an oracle Server, which has strict requirements on memory and is generally reluctant to install this large program on its own. So in order to avoid the installation of the oracle server in this book, but to use the oracle database properly, what should we do? You only need to install a small client on your own, and then configure it. How does the oracle client connect to the oracle server? Follow these steps. Step 1: first download the oracle client. Download a basic file and a sqlplus file from the official website. As for the version, there are no too many requirements. The official website www.2cto.com is as follows: http://www.oracle.com/technetwork/topics/winsoft-085727.html My downloaded file is as follows: instantclient-basic-win32-10.2.0.5 and instantclient-sqlplus-win32-10.2.0.5 in fact, as for sqlplus can not download, if do not like to use cmd command operation, will use visualization tools later. Step 2: extract the two downloaded files to one file: My path is D: \ ProgramFiles \ oracleClient \ instantclient_10_2 Step 3: in step 2, create a file named tnsnames. ora. We recommend that you do not manually create this file. You can copy data on the server. The content of the file is as follows: [html] # tnsnames. ora Network Configuration File: F: \ quanxianguanliruanjian \ oracle \ product \ 10.2.0 \ db_1 \ network \ admin \ tnsnames. ora # Generated by Oracle configuration tools. SMS = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = ShortBrain-PC) (PORT = 1521) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sms )) www.2cto.com) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) copy from the server without modifying it. Step 4: Configure environment variables. I am generally used to creating environment variables in user variables. Both system variables and user variables are supported. My example is ORACLE_HOME: D: \ ProgramFiles \ oracleClient \ instantclient_10_2 NLS_LANG: SIMPLIFIED extends TNS_ADMIN: D: \ ProgramFiles \ oracleClient \ instantclient_10_2 PATH: Add % ORACLE_HOME % after path, if there is a string in front, separate the strings with semicolons. Step 5: The client download configuration has been completed so far. But in order to visualize the operation, we need to download another job: Pl-sqlDeveloper. www.2cto.com configuration: PL-SQLDEVELOPER is as follows: after the download is complete, run, click Cancel. After entering, select Tools-Preferences to fill in Oracle Home, if the OCI library is configured, the two items in the PL-SQL will default, if not, you need to manually fill in. Oracle Home: The Path to install the client. That is, the path of step 2. OCI library: the installation path adds oci. dll www.2cto.com and above, and the client has been downloaded and configured. Step 5 after the configuration of the PL-SQL closed, restart it. Enter the correct user name and password, and then enter PL-SQL. At this time, you can perform visual operations in pl-SQL. In this way, you don't have to worry about your reluctance to install the oracle server, as long as you have a small client and simple configuration. Author: Liang huanyue