0

我试图使用 SQL plus 连接到 oracle 数据库实例,但出现“ -bash: sqlplus: command not found ”错误。

locate SQLplus返回一堆路径,如下所示。

/home/oracle/database/stage/Components/oracle.sqlplus /home/oracle/database/stage/Components/oracle.sqlplus.ic /home/oracle/database/stage/Components/oracle.sqlplus.rsf /home/oracle /database/stage/Components/oracle.sqlplus/11.2.0.3.0 /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1 /home/oracle/database/stage/Components/oracle .sqlplus/11.2.0.3.0/1/DataFiles /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup1.jar /home/oracle/database/stage/Components /oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup2.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup3.jar /home/oracle /database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup4.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5 .10.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.11.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3。 0/1/DataFiles/filegroup5.12.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.13.1.jar /home/oracle/database/stage/ Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.14.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.15.1。 jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.16.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3。 0/1/DataFiles/filegroup5.17.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.18.1.jar /home/oracle/database/stage/组件/oracle.sqlplus/11.2.0.3。0/1/DataFiles/filegroup5.19.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.2.1.jar /home/oracle/database/stage/ Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.20.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.21.1。 jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.22.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3。 0/1/DataFiles/filegroup5.23.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.24.1.jar /home/oracle/database/stage/ Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.25.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.26.1。 jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.27.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.3.1.jar /home/ oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.4.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/ DataFiles/filegroup5.5.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.6.1.jar /home/oracle/database/stage/Components/oracle。 sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.7.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.8.1.jar /home/ oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup5.9.1.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/数据文件/文件组 5.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/1/DataFiles/filegroup6.jar /home/oracle/database/stage/Components/oracle.sqlplus/11.2.0.3.0/ 1/DataFiles/filegroup7.jar /home/oracle/database/stage/Components/oracle.sqlplus.ic/11.2.0.3.0 /home/oracle/database/stage/Components/oracle.sqlplus.ic/11.2.0.3。 0/1 /home/oracle/database/stage/Components/oracle.sqlplus.ic/11.2.0.3.0/1/DataFiles /home/oracle/database/stage/Components/oracle.sqlplus.ic/11.2.0.3。 0/1/DataFiles/filegroup1.jar /home/oracle/database/stage/Components/oracle.sqlplus.ic/11.2.0.3.0/1/DataFiles/filegroup2.jar /home/oracle/database/stage/Components/ oracle.sqlplus.ic/11.2.0.3.0/1/DataFiles/filegroup3.jar /home/oracle/database/stage/Components/oracle.sqlplus.rsf/11.2.0.3.0 /home/oracle/database/stage/组件/oracle.sqlplus.rsf/11.2.0.3。0/1 /home/oracle/database/stage/Components/oracle.sqlplus.rsf/11.2.0.3.0/1/DataFiles /home/oracle/database/stage/Components/oracle.sqlplus.rsf/11.2.0.3。 0/1/DataFiles/filegroup1.jar

如何连接到此 Oracle 数据库实例?

谢谢

4

0 回答 0