Oracle 19c: HOW TO UNLOCK HR USER in Oracle Database 19c by Manish Sharma

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

Комментарии • 166

  • @Rebellionrider
    @Rebellionrider  5 лет назад +5

    Since Oracle Database 12c release 2, oracle decided to ship only HR schema with the Oracle Database software. Which means if you want to use and unlock other sample schemas like OE, SH, OC and others then you will have to download them from GitHub.
    github.com/oracle/db-sample-schemas/releases/tag/v19c
    if you want me to do a video on how to install Sample user from GitHub in Oracle Database then comment and let me know.

    • @mithileshkushwaha7420
      @mithileshkushwaha7420 5 лет назад +1

      thank you so much

    • @Rebellionrider
      @Rebellionrider  5 лет назад +1

      Always a pleasure 😊

    • @rojarosethomas8173
      @rojarosethomas8173 4 года назад

      Hi sir..I am unable to open hr schema in my sql developer.I am using oracle database 12c release 2.i have tried many methods to unlock it but its not working out.pls can u help me out...

    • @syedmohsin3397
      @syedmohsin3397 4 года назад

      Hi Manish, I couldn't able to locate listener.ora file in my computer. Could you please is there any alternative way to find that.

  • @alexmalyshev8675
    @alexmalyshev8675 4 года назад +4

    I've spent approximately 10 hour trying to connect to users scott and hr, I've red enormous amount of documentation and different articles, I've droped DB 5 times because I thought I've done something wrong during the installation and only in your video I've finally understood what was the reason of all my mistakes. I forgot to restart litener and open DB. Thank you, Manish, you are my rescuer!!!

    • @Rebellionrider
      @Rebellionrider  4 года назад

      Really happy to be of help. Wish you loads of success with DB in future. Also, please do share the video to help others in the community.

    • @syedmohsin3397
      @syedmohsin3397 4 года назад

      Where did you find listener .ora file. I couldn't able to locate on my computer.

    • @IronMan-ke8zq
      @IronMan-ke8zq 4 года назад

      @@syedmohsin3397 C:\App\db_home
      etwork\admin

  • @batboy-um9kv
    @batboy-um9kv Год назад

    I watched lots od tutorials, but none od them helped.
    This one not only helped but everything is perfectly explained.

  • @prasannag31
    @prasannag31 2 месяца назад

    Thankyou so muchhhhh....I have been really struggling to do this. Uninstalled Oracle and SQL Developer as well but cldnt overcome the issue. Your video was very helpful. Now my HR User is unlocked.

  • @aymankhalifa5676
    @aymankhalifa5676 4 года назад +3

    Best database teacher ever.. thank you so much you saved my life.

  • @KazzArie
    @KazzArie 4 года назад +1

    Excellent information, thank you.
    I got into a new instance, created a non sys type user, and got the password error. So frustrating!! I don’t need to see all the sys tables. I’ll try this tomorrow. Thank you again.

  • @mariamsn4559
    @mariamsn4559 7 месяцев назад

    thank you, ive spent over 10 hrs trying to fix this problem util i came across your channel!

    • @Rebellionrider
      @Rebellionrider  7 месяцев назад

      I'm glad I could help you out! 😊 If you could quickly master any advanced SQL skill, what would it be and why? Your insight is valuable! 😊🌟

  • @kalindsingh2108
    @kalindsingh2108 Год назад

    thank you brother i was struggling alot, issue was in database hr was in mount mode and was not able to change its mode to read, write but your vedio helped alot. Again thank you.

  • @ANIMABAIN
    @ANIMABAIN 4 года назад +1

    Hello Manish, I am your new subscriber. I was able to unlock the HR user by the NetCA configuration method. Thank you for the wonderful videos. Keep up the good work.

    • @Rebellionrider
      @Rebellionrider  4 года назад

      Great 👍All the best. Please share the video on your social media that will my channel.

  • @akashkantrikar5551
    @akashkantrikar5551 4 года назад

    One of the best tutorial video,
    Upload more videos on oracle 19c so that one can become Master like u

  • @bhargavasai1510
    @bhargavasai1510 4 года назад +2

    Thank you very much Manish.
    This helped me a lot.

  • @shrikantkhurd3323
    @shrikantkhurd3323 3 года назад +3

    TNS-01190: The user is not authorized to execute the requested listener command
    i am facing this error sir..

  • @jayasreecarey7843
    @jayasreecarey7843 4 года назад +1

    Thank you Manish for the detailed walk thru !!

    • @Rebellionrider
      @Rebellionrider  4 года назад

      I am glad you like the video. Please do share and like it. Thanks

  • @rupalinirmal7023
    @rupalinirmal7023 2 года назад

    thank you so much for your videos about Oracle database, they've helped me a lot.

  • @kamalutheen9793
    @kamalutheen9793 4 месяца назад

    thanks bro , your presentation very useful

  • @kalindsingh2108
    @kalindsingh2108 Год назад

    Is it better to use oracle sql developer tool on mac directly or through a virtual machine?

  • @robertocorrea464
    @robertocorrea464 4 года назад +1

    Hi! Thank you very much for your videos about Oracle database, they've helped me a lot. Can you do a video or a blog entry explaining the multitenant architecture used by Oracle database? Container vs pluggable DBs. Thank you in advance.

  • @manideepakgopisetty2746
    @manideepakgopisetty2746 5 лет назад +1

    Hi Manish, I'm using oracle 18c and issue I'm facing is when I have connected to DB from sql developer db session is resetting frequently. How to make my db session constantly without resetting.

  • @smalllsz
    @smalllsz 3 года назад

    This was so helpful with my homework! Thank you!!

  • @Marco-pq4hs
    @Marco-pq4hs 2 года назад

    Liked & suscribed. Manish you are the man!

  • @pjkavitha249
    @pjkavitha249 Год назад

    Really thank you Manish . I did it

  • @sayarawasim3172
    @sayarawasim3172 3 года назад

    Thank you for such valuable knowledge sharing.

  • @atulkoshta641
    @atulkoshta641 3 года назад

    you helped me twice in my hard time.. thanks man ❤

  • @ibrahimidris7741
    @ibrahimidris7741 7 месяцев назад

    Thank you, Manish.

  • @victorespiritu3431
    @victorespiritu3431 3 года назад +1

    WoW! You don't know for how long I have been looking for this explanation. Thank you for this video and thank you for taking the time to make it and share the knowledge. You definitely made my year!!!!! By the way, can I install Oracle database on my mac without using a virtual machine? I borrowed my girlfriend's laptop to make this possible. Appreciate immersively your work.

    • @Rebellionrider
      @Rebellionrider  3 года назад +1

      Thank you so much for your lovely comment. Yes, you can install oracle on your Mac though the process is not this simple.

    • @victorespiritu3431
      @victorespiritu3431 3 года назад +1

      @@Rebellionrider is there a video on it?

  • @ivanchogc
    @ivanchogc 2 года назад

    Great !!! Thanks Manish

  • @njavamonkb
    @njavamonkb 5 лет назад

    wonderful presentation , I look forward to watching all your videos.....

  • @trentarmstrong5000
    @trentarmstrong5000 3 года назад

    Excellent tutorial. Thank you!

  • @sanketkillekar
    @sanketkillekar 4 года назад

    Love u bro..aftr a sleepless night u came as a saviour ❤️

  • @HenryLeu
    @HenryLeu 2 года назад

    Thanks! You saved my day!

  • @amarazahid9039
    @amarazahid9039 3 года назад

    Thank you so much.. Your videos are really helpful

  • @astirmon7610
    @astirmon7610 Год назад

    lsnrctl reload
    LSNRCTL for 64-bit Windows: Version 19.0.0.0.0 - Production on 22-APR-2023 15:02:45
    Copyright (c) 1991, 2019, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    TNS-01190: The user is not authorized to execute the requested listener command

  • @debabrotobose6489
    @debabrotobose6489 2 года назад +1

    I'm getting the error: Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    64-bit Windows Error: 61: Unknown error Please help to resolve this.

  • @sahilaherkar888
    @sahilaherkar888 2 года назад

    Thanks man it really work🙂

  • @eduardojavier112
    @eduardojavier112 3 года назад +2

    how to configure it in oracle developer?

  • @bharathsharma8854
    @bharathsharma8854 3 года назад

    Thank you so much manish :)

  • @mglights424
    @mglights424 Год назад

    Hi Manish, I have installed Oracle database 19c inside a virtual machine with Windows 10 OS. Now I am trying to connect the database using SqlDeveloper v23.?? but the connection fails. Please throw some light.

  • @pratibhanevhare2757
    @pratibhanevhare2757 11 месяцев назад

    Thank you bro this video very helpful to me

    • @Rebellionrider
      @Rebellionrider  11 месяцев назад

      I'm glad you found the video helpful! If you have any more questions or need further assistance, feel free to ask. Happy learning!

  • @shreyassalunkhe122
    @shreyassalunkhe122 2 года назад +1

    Much helpful...!!!

    • @Rebellionrider
      @Rebellionrider  2 года назад

      Thank you so much. Please do share on your social media and with your friends.

  • @sushmitadey4467
    @sushmitadey4467 2 года назад

    That really helped , thank you.

  • @LuisMarquez-SOA
    @LuisMarquez-SOA 5 лет назад +1

    Great video, thanks for the explanation.

    • @Rebellionrider
      @Rebellionrider  5 лет назад

      My pleasure always happy to be of help ☺️

  • @vicolodo1
    @vicolodo1 4 года назад +1

    thank you very much, good explanation!!

  • @iqbalahmadkhan7847
    @iqbalahmadkhan7847 4 года назад +1

    SQL> ALTER PLUGGABLE DATABASE open;
    ALTER PLUGGABLE DATABASE open
    *
    ERROR at line 1:
    ORA-65054: Cannot open a pluggable database in the desired mode.
    i did all but lastly i get above result .
    not opening mount database

  • @RahulRaj-rb4eg
    @RahulRaj-rb4eg 2 года назад +1

    Hi Manish, i tried the steps showed by you in this video and was able to unlock the HR user but when i was trying to connect HR user using SQL Developer i am getting error "test failed ora-01017 invalid username/password".
    It will be of great help if you can provide steps on how to connect to HR user using SQL Developer.

  • @dealeras2143
    @dealeras2143 Год назад

    amazing thank you so much!

  • @ThaerFAli
    @ThaerFAli 4 года назад

    Thanks Manish, that explanation was really awesome. HR user is now unlocked!!!. finally, I wonder, do we need to do that every time we to log in as hr user??

    • @Rebellionrider
      @Rebellionrider  4 года назад +1

      No you don't... Once you unlocked the schema you can use it like any other user you have in your database.

    • @ThaerFAli
      @ThaerFAli 4 года назад +1

      @@Rebellionrider Thank you mate, how about using sqlplus interface it doesn't accept user name and password. Is there any way to log in? Cheers.

  • @rafaeldavidalvarezgonzalez6173
    @rafaeldavidalvarezgonzalez6173 3 года назад +1

    I love you, you're the Best!!

  • @haimanotmenberu2926
    @haimanotmenberu2926 3 года назад

    Thank you Manish

  • @prasadshinde9440
    @prasadshinde9440 Год назад

    ORA-12154: TNS:could not resolve the connect identifier specified showing me this error while connecting to hr

  • @enesaltan5502
    @enesaltan5502 4 года назад

    Thank you very much.

  • @Alhazza944
    @Alhazza944 4 года назад +1

    Thank you for your tutoring. HR user in unlocked now. However, I have been struggling with locking user again when I turn off laptop then I have to repeat all steps again !! I did commit but same issue. Do you know why??

    • @MoinKhan-cg8cu
      @MoinKhan-cg8cu 4 года назад

      I have also same issue, r u able to resolve it ?

    • @samisajjad802
      @samisajjad802 3 года назад

      @@MoinKhan-cg8cu Try Alter pluggable database orclpdb open; log with sysdba account.

  • @pavansharma7944
    @pavansharma7944 2 года назад

    Please make full video playlist of oracle 19 c SQL

  • @에덴리시버
    @에덴리시버 2 года назад

    Thank you!

  • @hashimraza3331
    @hashimraza3331 2 года назад

    select name , con_id from v$pdbs;
    Sir,
    if this statement return on Row then

  • @pavansharma7944
    @pavansharma7944 2 года назад

    How to demonstrate two sessions competing for resources as a result of a lack of using a commit or rollback in oracle 19 c

  • @vij811
    @vij811 2 года назад

    i have installed pdb after installation of 19c. so as per your step i am not able to open hr user. still error user does not exist. can you help me ?

  • @madness817
    @madness817 3 года назад

    thank you very much

  • @tadashitani
    @tadashitani 4 года назад

    Hi, I'm setting up an Oracle DB 19c on a CentOS 8 machine and I followed all your steps, but I couldn't unlock the HR user. It's a fresh instalation of both OS and DB, my PDB came out to be "ORACLEPDB1", I set the tnslistener.ora accordingly. What could be wrong?

    • @tadashitani
      @tadashitani 4 года назад +1

      I got the solution, I don't know why, but the user HR was not created when I executed the script to set up the sample database. So I had to manually create it in SQLPLUS, by running:
      SQL> @?/demo/schema/human_resources/hr_main.sql.
      After executing the above (which created the HR user) I was able to unlock the user and connect to it.
      Hope it helps somebody.

  • @Thecinesthetic
    @Thecinesthetic 3 года назад

    Thank u ❤️

  • @tungtran-py6iq
    @tungtran-py6iq 4 года назад

    i follow your tutorial untill the end, but it keeps saying user hr does not exist, so what do i do now? download oracle 11 to have hr already?

  • @srichandrasekhar4352
    @srichandrasekhar4352 3 года назад

    Thank you

  • @erenyeager_0510
    @erenyeager_0510 2 года назад

    after doing all these stuffs, i am getting the same problem as before.. nothing changed at all.. its snhowing ORA-01017: invalid username/password; logon denied

  • @Tomasz200010
    @Tomasz200010 Год назад

    I get this message ORA-00942: table or view does not exist after trying to execute the statement shown in 4;47

  • @pawebilski9859
    @pawebilski9859 3 года назад

    Hi, I have problem. I did everything like in your movie but I cant alter user HR. I have properly connected to my pluggable databse (xepdb1 in oracle 21c in READ WRITE mode) but I have an error ORA-01918 user 'HR' does not exists. What can I do with that? Thank in adcance.

    • @santuex8188
      @santuex8188 2 года назад

      did you find a solution to this problem?

    • @manireddy1238
      @manireddy1238 2 года назад

      Have u find the solution bro

  • @karthikms03
    @karthikms03 3 года назад

    Hi manish i am getting error while connecting to HR schema in oracle 19c TNS-01190: The user is not authorized to execute the requested listener command. Please help how to get this issue resolved and make the connection to HR schema

  • @ishantdutt9872
    @ishantdutt9872 4 года назад

    Thank you Manish for this helpful tutorial.
    I have a small request and that is how to connect to hr schema in oracle 19c using SQL developer, can you please make a tutorial about it as I am having trouble unlocking hr schema using SQL developer.

    • @stevemungai3542
      @stevemungai3542 4 года назад

      am having the same problem too

    • @IronMan-ke8zq
      @IronMan-ke8zq 4 года назад

      After unlocking HR user in Oracle Database 19c using the above video, open the SQL developer and follow the below steps:
      1. add new database connection
      2. name = HR, username =HR, password= hr, hostname = localhost, port = 1521, servicename = orclpdb
      3. Test the connection and save it

  • @giriy3052
    @giriy3052 4 года назад

    Hi Manish , I am getting error in win7 as ORA 12543 , please help on this

  • @crmali548
    @crmali548 3 года назад +1

    Thanks

  • @trystayaway7663
    @trystayaway7663 2 года назад

    Jow i can create and execute triggers in oracle 21c

  • @abrar8133
    @abrar8133 3 года назад

    ORA-12154: TNS:could not resolve the connect identifier specified
    Warning: You are no longer connected to ORACLE.
    the error i'm getting. What i'm doing wrong? same steps as yours!

  • @madhuporeddy7204
    @madhuporeddy7204 5 лет назад +1

    Pls make the video on Scott user

    • @Rebellionrider
      @Rebellionrider  5 лет назад

      Thanks for the feedback. Let me see what I can do.

  • @ajaykulkarni2824
    @ajaykulkarni2824 3 года назад

    I am getting no listener error while connecting to tns using net configuration assistance

  • @debiprasadsahoo9726
    @debiprasadsahoo9726 3 года назад

    sir kindly help me how to unlock scott user in oracle 19c??

  • @nicksmith418
    @nicksmith418 3 года назад

    What do we do now after we have unlocked hr user?

  • @itws1juliasukr26
    @itws1juliasukr26 4 года назад

    Hello. I try to follow your video, but... I can't find folder 'network'. I installed desktop version. Did I do something wrong during installation? I connected to SQL Developer as user SYS and can't see user HR in directory 'Other Users'. Is it ok or I have to see him there?

    • @suheljaglan4109
      @suheljaglan4109 3 года назад

      hey I have the same issue. Have u find any way to resolve it?

  • @pratibhanevhare2757
    @pratibhanevhare2757 11 месяцев назад

    sir please solve another issue I face this issue while connectivity java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist please solve this problem

    • @Rebellionrider
      @Rebellionrider  11 месяцев назад

      The mistake is quite evident - the table you're trying to query hasn't been created. There's a possibility you might be misspelling the table's name. To verify, you can check if the table exists in your database by running the following query:
      SELECT table_name
      FROM all_tables;
      This will display a list of all tables created under your user. Make sure to double-check the table name spelling.

  • @ahsanulhouqe3303
    @ahsanulhouqe3303 3 года назад

    I ve just followed your procedure and it says, ORA-28000: The account is locked.

  • @abarth0800
    @abarth0800 3 года назад +1

    Really nice tutorial. Too bad the last step gave me a ORA-12154

  • @sihatafnan5450
    @sihatafnan5450 4 года назад

    TNS-01190: The user is not authorized to execute the requested listener command
    Getting this error.What to do?

    • @sagarpatankar8919
      @sagarpatankar8919 4 года назад +1

      Try to run Command Prompt Screen using "Run as Administrator" and then execute the command. I was able to resolve my problem in this way.

  • @arungupta5528
    @arungupta5528 4 года назад

    Could you provide link to download Oracle 19c

  • @iqbalahmadkhan7847
    @iqbalahmadkhan7847 4 года назад

    SQL> SELECT name, open_mode FROM v$pdbs;
    NAME OPEN_MODE
    ---------- ----------
    ORCLPDB MOUNTED
    SQL> ALTER PLUGGABLE DATABASE open;
    ALTER PLUGGABLE DATABASE open
    *
    ERROR at line 1:
    ORA-65054: Cannot open a pluggable database in the desired mode.
    what is going on here worng , my database is not openging

  • @joezoma5847
    @joezoma5847 3 года назад

    Subscribed on the spot :)

  • @vasanthakumare2791
    @vasanthakumare2791 4 года назад

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    TNS-01190: The user is not authorized to execute the requested listener command

  • @ahmadali-zz8om
    @ahmadali-zz8om 4 года назад +1

    OMG thank you a lot

    • @Rebellionrider
      @Rebellionrider  4 года назад

      Always a pleasure. Your appreciation means a lot to me.

  • @navarre2142
    @navarre2142 3 года назад

    I got all the way to the end, but when attempting to execute the final command to connect the HR user, I am getting the following error:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Any tips on how to solve this? Many thanks!

  • @Mang3652
    @Mang3652 2 года назад

    what it the user HR does not exist? in my case the same msg appears. "ORA-01918: user 'HR' does not exist"

    • @Rebellionrider
      @Rebellionrider  2 года назад

      Check if the pluggable database containing your HR schema is open for read write or not. If not then open it. You can refer this 30 second shorts for that - ruclips.net/user/shortsbeYcobrCKG0

  • @Ani_stores
    @Ani_stores 3 года назад

    I am getting error when connecting hr schema error code is ORA-12514

  • @raudbook9683
    @raudbook9683 4 года назад +1

    how can start from oracle 19c database tutorial

    • @Rebellionrider
      @Rebellionrider  4 года назад

      Check out this blog and see if it's of some help to you. www.rebellionrider.com/how-to-learn-oracle-db/

  • @neelaptvptv7472
    @neelaptvptv7472 3 года назад

    Hii...I'm getting g logging denied ..plss tell me why

  • @irumimtiaz-zo4bq
    @irumimtiaz-zo4bq 8 месяцев назад

    i cant find network file does someone know how to locate this file in 19c?

  • @pranayveeramalla7574
    @pranayveeramalla7574 Год назад

    Hi manish its saying as no rows selected what to do ?

  • @chammarasilva
    @chammarasilva 2 года назад +1

    %db_hom%
    etwork\admin
    not able to open this path in explorer

    • @Rebellionrider
      @Rebellionrider  2 года назад

      Watch this video to learn how to find db home ruclips.net/video/4EJcbQuaeR0/видео.html

  • @nicksmith418
    @nicksmith418 3 года назад

    I am logged in as an administrator but am unable to reload my listener. Is there a way to fix this?

    • @nicksmith418
      @nicksmith418 3 года назад

      Nevermind! I was using the incorrect command prompt.

  • @samisajjad802
    @samisajjad802 3 года назад

    Didn't worked for me. Getting Error
    Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=RIkX6sb6RAutQHHzD1d8yg==)

    • @Pavan_Aiyappa
      @Pavan_Aiyappa 3 года назад

      Give the service name as orclpdb in sql developer , dont give it in SID and username and password as showed hr / hr , connection name give a new connectin name maybe hr_conn

  • @jitendranandurkar2888
    @jitendranandurkar2888 4 года назад

    its unlocked using this way, but get locked every time i log off the system. i have to unlock every time when i log in to system. is there any way to do it in one time..

  • @neelaptvptv7472
    @neelaptvptv7472 3 года назад

    Logging denied ..plss tell me why

  • @daye1997
    @daye1997 4 года назад +1

    Great tutorial, I have Oracle19c , Here are the list on commands, Any suggestions ? Thank you
    SQL> alter session set container =orclpdb;
    Session altered.
    SQL> show con_name;
    CON_NAME
    ------------------------------
    ORCLPDB
    SQL> select name,open_mode from v$pdbs;
    NAME
    --------------------------------------------------------------------------------
    OPEN_MODE
    ----------
    ORCLPDB
    READ WRITE
    SQL> alter user hr identified by hr account unlock;
    alter user hr identified by hr account unlock
    *
    ERROR at line 1:
    ORA-01918: user 'HR' does not exist

    • @santuex8188
      @santuex8188 2 года назад

      did you find a solution to this problem?

  • @AsianTrackGamerYT
    @AsianTrackGamerYT 4 года назад

    Plz make a video on how to create new user in oracle 19c

    • @Rebellionrider
      @Rebellionrider  4 года назад

      Thanks for the idea I will do a video on it soon.

    • @AsianTrackGamerYT
      @AsianTrackGamerYT 4 года назад

      @@Rebellionrider also make a video on how to transfer or access one database to other computer

  • @rahul0172ec
    @rahul0172ec 3 года назад

    How to unlock Scott user

  • @samshepherd6197
    @samshepherd6197 3 года назад

    Followed instructions, result, ERROR at line 1: ORA-01918 user 'HR' does not exist.

    • @santuex8188
      @santuex8188 2 года назад

      did you find a solution to this problem?