Why EVERYONE gets ORA-12154 when using 21c

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 10

  • @TheTimHall
    @TheTimHall 3 ปีที่แล้ว +1

    I messed this up so many times when I was updating my build scripts. It's like muscle memory. Even though you know it's a read-only home, you automatically go there...

    • @DatabaseDude
      @DatabaseDude  3 ปีที่แล้ว +3

      I stuck a file in $ORACLE_HOME/network/admin.... "touch HEY_THIS_AINT_THE_PLACE"

  • @luckygamer9433
    @luckygamer9433 3 ปีที่แล้ว

    How to solve in windows 10

    • @DatabaseDude
      @DatabaseDude  3 ปีที่แล้ว

      no different. In windows 10, there will be a "Homes" directory as well under Oracle Base (eg c:\oracle)

  • @animelover-2529
    @animelover-2529 ปีที่แล้ว

    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    this is my error in SQL PLUS after entering my password, how to fix this ?
    btw i installed oracle 21c in my non-OS drive, do i have to reinstall it in my OS drive??

    • @DatabaseDude
      @DatabaseDude  ปีที่แล้ว

      Go to where you installed oracle and for the "homes" directory. Under there you'll find network/admin/tnsnames.ora - that is where you need to add your tns entries if you are not using ezconnect.

  • @Tomasz200010
    @Tomasz200010 2 ปีที่แล้ว

    Hello, I was hoping for solution to my problem.
    I also get this error message and I am using Windows 10.
    My tns file looks like this.
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = LAPTOP-9T747SDV)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )
    )
    LISTENER_XE =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 'here is my laptop name')(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )
    XEPDB1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 'here is my laptop name')(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XEPDB1)
    )
    )
    What might be wrong?

    • @DatabaseDude
      @DatabaseDude  2 ปีที่แล้ว

      connect to XEPDB1 - what happens?

  • @b_o_d_h_i_s_a_t_t_v_a
    @b_o_d_h_i_s_a_t_t_v_a ปีที่แล้ว

    the whole thing is stupid

    • @DatabaseDude
      @DatabaseDude  ปีที่แล้ว +1

      thank you were your well reasoned feedback :-)