1、去www.oracle.com下载Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications,instantclient-basic-nt-11.2.0.3.0.zip (51,149,941 bytes)
2、将下载的客户端包安装到例如D:\OracleClient下,最终客户端主目录是D:\OracleClient\instantclient_11_2
3、然后在D:\OracleClient\instantclient_11_2下新建network子目录,然后在network下新建admin子目录,最终在D:\OracleClient\instantclient_11_2\network\admin下新建tnsnames.ora文件,文件中具体内容如下:
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.100)(PORT =