一.先找到数据库的环境变量 如果是在root账户下,须先登录到数据库所在账户 su oracle cat ~/.bash_profile export PATH export ORACLE_BASE=/home/nnc_db/app export ORACLE_HOME=ORACLEBASE/product/11.2.0/dbhome1exportPATH=ORACLE_BASE/product/11.2.0/dbhome_1 export PATH=ORACLE