码迷,mamicode.com
首页 > 系统相关 > 详细

linux connect oralce

时间:2016-08-22 23:19:37      阅读:224      评论:0      收藏:0      [点我收藏+]

标签:

http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html


rpm -ivh oracle-instantclient11.2-basic-12.1.0.2.0.x86_64.rpm
rpm -ivh oracle-instantclient11.2-sqlplus-12.1.0.2.0.x86_64.rpm


export ORACLE_HOME=/usr/lib/oracle/12.1/client64
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib

 

sqlplus "scott/xxx@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.11.149)(PORT=1521))(CONNECT_DATA=(SID=orcl)))"

linux connect oralce

标签:

原文地址:http://www.cnblogs.com/anjuncc/p/5797205.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!