执行sqlplus / as sysdba报错:bash: sqlplus: command not found 解决方法

1、在oracle用户下确保环境变量配置正确
【下图为我的环境变量配置】
执行sqlplus / as sysdba报错:bash: sqlplus: command not found 解决方法
2、执行source .bash_profile 【使环境变量即刻生效】

3、找到自己安装的oracle路径【如图】
执行sqlplus / as sysdba报错:bash: sqlplus: command not found 解决方法
4、执行语句【此语句自行领悟】
ln -s /opt/oracle/app/oracle/product/11.2.0/dbhome_1/bin/sqlplus /usr/bin

5、sqlplus / as sysdba
【现在就可以成功连接】
执行sqlplus / as sysdba报错:bash: sqlplus: command not found 解决方法

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2021-11-11
  • 2021-06-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-23
  • 2021-08-26
  • 2021-10-07
  • 2021-12-09
  • 2021-10-05
  • 2021-04-09
相关资源
相似解决方案