mac os oracle client sqlplus

到oracle 网站下载 oracleClient解压到目录,配置好 tnsnames.ora


.bashrc 文件

export ORACLE_CLIENT_HOME=/Users/***/oracleClient/64/11.2.0.4.0/
export DYLD_LIBRARY_PATH=${ORACLE_CLIENT_HOME}
export PATH=${ORACLE_CLIENT_HOME}:$PATH    
export TNS_ADMIN=${ORACLE_CLIENT_HOME}
export SQLPATH=${ORACLE_CLIENT_HOME}
export nls_lang="simplified chinese_china.Utf8"


如果打开新的终端不执行.bashrc文件时,编辑 .bash_profile
if [ "${BASH-no}" != "no" ]; then  
    [ -r ~/.bashrc ] && . ~/.bashrc  
fi 



你可能感兴趣的:(mac)