1. It is said on the Internet that environmental variables are not matched , And then it's done to make it work , The result is wrong

reason :

PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
~                                                                             
                                                                               
     
~                                                                             
                                                                               
     

~     

Open the configuration file and find a red mark , Delete and change line , Problem solving

2. Execute again sqlplus Report error again , This time, it's the reason that the paths don't match

solve :

above bin Remove , It's matched below

3. It's over source once , Execute again

To modify environment variables, you must source Make it effective !!!

                                                                              
                                                                               
                                                                           
                                                                               
                                                                               
  

Technology
©2019-2020 Toolsou All rights reserved,
One is called “ Asking for the train ” A small village Finally got the train Spring Boot Lesson 16 :SpringBoot Implementation of multithreading with injection class Chrome OS, For programmers and Windows What does it mean ? Internet Marketing JAVA Convert a string to a numeric type I've been drinking soft water for three years ? What is the use of soft water and water softener You don't know ——HarmonyOS Talking about uni-app Page value transfer problem JavaScript Medium Call and ApplySparkSQL Achieve partition overlay write Character recognition technology of vehicle license plate based on Neural Network