How to Unlock HR User in Oracle 19c by MahiIt

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ •

  • @AsfiAlam-w1h
    @AsfiAlam-w1h 11 місяців тому +1

    superb explaination

  • @4mh17ec41Ravindraprasadyk
    @4mh17ec41Ravindraprasadyk Рік тому

    Bro Thank you so much, finally I unlocked 😊 HR schema

  • @nuvui
    @nuvui 4 місяці тому +1

    Thank You!!!

  • @nadeemansari556
    @nadeemansari556 6 місяців тому +1

    thank you boss

  • @redachourouki9941
    @redachourouki9941 Рік тому +1

    thank you

  • @vedashwi
    @vedashwi 3 місяці тому

    hi while trying to unlock hr schema my statement
    select name,open_mode from v$pdbs; returning nothing how to create pdbs ? many thanks in advance ..

  • @Vivasvan22-21zy
    @Vivasvan22-21zy Рік тому +1

    Hi I cannot access hr schema using sqlplus

  • @saimanideep9370
    @saimanideep9370 Рік тому

    Bro i am tring connect hr schema but it shows invalid username/password; logon denied and also i tried both ways...

    • @mahiit0333
      @mahiit0333  Рік тому

      What are the commands you used to create hr user and to login ? Can you share the exact commands.

    • @saimanideep9370
      @saimanideep9370 Рік тому

      @@mahiit0333 sure firstly i tired alter user hr command to check when execute the alter command it gives error hr does not exist and later i checked con_name done this command after select name,open_mode frpm v$pdbs and after alter i tried session command to set orclpdb aggain i checked con_name then it shows orclpdb finally i execute alter user hr command it gives me error hr does not exists. Again i open tscnames file and add orclpdb then open cmd run as administration then executes lsnrctl reload this command again i tried to execute sqlplus hr/hr@localhost:1521/orclpdb; then it gives me error invalid username and password.

  • @deepalih07
    @deepalih07 8 місяців тому

    hello Mahil, I followed your steps still error is showing HR is not exists. Please assist

    • @mahiit0333
      @mahiit0333  8 місяців тому +1

      Have you executed all the commands by login into SYS user(Sysdba)?.

    • @deepalih07
      @deepalih07 8 місяців тому

      @@mahiit0333 Yes. I did but same error

    • @mahiit0333
      @mahiit0333  8 місяців тому +1

      Could you run the same commands once again by using command prompt instead of SQL developer, just to make sure not missed any steps. If get any error during any command execution, let me know. All command should Run successfully.
      Also, I hope you have installed Oracle 19C DB only. For other version steps would be different.

    • @deepalih07
      @deepalih07 8 місяців тому

      @@mahiit0333 ohh. I thought the steps are same for all versions. I have installed latest version of sql developer.
      Please share the different steps🙏

    • @mahiit0333
      @mahiit0333  8 місяців тому

      No. SQL developer version is fine. I am talking about Oracle database version.
      First you need to install database.
      Second , you need unlock HR schema
      And then you can connect it using SQL developer.
      Below video will help you to install database 19c, once that is installed, then you can perform second step of unlocking hr schema, and then connect to that HR using SQL developer
      Video for DB installation: ua-cam.com/video/VYPB0iYwUhQ/v-deo.htmlsi=e9aV9P9eDEwdqamP

  • @haameemshimar8828
    @haameemshimar8828 2 місяці тому

    it shows ORA-01918: user 'HR' does not exist

  • @iam.karthikmksamy
    @iam.karthikmksamy 11 місяців тому +1

    I am getting insufficient privilege error

    • @mahiit0333
      @mahiit0333  11 місяців тому

      Which command you are executing when you get this error?

    • @iam.karthikmksamy
      @iam.karthikmksamy 11 місяців тому

      @@mahiit0333 I have figured it out. My PDB instance is on read only mode. I changed to READ WRITE Mode. After that it worked fine

    • @mahiit0333
      @mahiit0333  11 місяців тому

      Ohh ok. Gald to hear that

  • @shaikimran9312
    @shaikimran9312 Рік тому

    Bro, I can't connect to HR schema showing error: listener refused connection error:ora-12514

    • @mahiit0333
      @mahiit0333  Рік тому

      This error usually happens when TNS file is not correctly updated.
      Try the solution from below link, hope that'll help you
      stackoverflow.com/questions/10786782/ora-12514-tnslistener-does-not-currently-know-of-service-requested-in-connect-d