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

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

КОМЕНТАРІ • 166

  • @Rebellionrider
    @Rebellionrider  4 роки тому +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 4 роки тому +1

      thank you so much

    • @Rebellionrider
      @Rebellionrider  4 роки тому +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 3 роки тому

      @@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 Місяць тому

    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 3 роки тому +3

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

  • @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.

  • @mariamsn4559
    @mariamsn4559 5 місяців тому

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

    • @Rebellionrider
      @Rebellionrider  5 місяців тому

      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! 😊🌟

  • @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.

  • @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

  • @rupalinirmal7023
    @rupalinirmal7023 2 роки тому

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

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

    thanks bro , your presentation very useful

  • @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.

  • @Marco-pq4hs
    @Marco-pq4hs 2 роки тому

    Liked & suscribed. Manish you are the man!

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

    Really thank you Manish . I did it

  • @bhargavasai1510
    @bhargavasai1510 4 роки тому +2

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

  • @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

  • @ibrahimidris7741
    @ibrahimidris7741 6 місяців тому

    Thank you, Manish.

  • @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.

  • @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?

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

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

  • @smalllsz
    @smalllsz 3 роки тому

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

  • @atulkoshta641
    @atulkoshta641 3 роки тому

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

  • @ivanchogc
    @ivanchogc 2 роки тому

    Great !!! Thanks Manish

  • @sayarawasim3172
    @sayarawasim3172 3 роки тому

    Thank you for such valuable knowledge sharing.

  • @trentarmstrong5000
    @trentarmstrong5000 3 роки тому

    Excellent tutorial. Thank you!

  • @amarazahid9039
    @amarazahid9039 3 роки тому

    Thank you so much.. Your videos are really helpful

  • @HenryLeu
    @HenryLeu 2 роки тому

    Thanks! You saved my day!

  • @sushmitadey4467
    @sushmitadey4467 2 роки тому

    That really helped , thank you.

  • @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.

  • @njavamonkb
    @njavamonkb 4 роки тому

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

  • @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.

  • @sahilaherkar888
    @sahilaherkar888 2 роки тому

    Thanks man it really work🙂

  • @shreyassalunkhe122
    @shreyassalunkhe122 2 роки тому +1

    Much helpful...!!!

    • @Rebellionrider
      @Rebellionrider  2 роки тому

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

  • @shrikantkhurd3323
    @shrikantkhurd3323 3 роки тому +3

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

  • @manideepakgopisetty2746
    @manideepakgopisetty2746 4 роки тому +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.

  • @bharathsharma8854
    @bharathsharma8854 3 роки тому

    Thank you so much manish :)

  • @pratibhanevhare2757
    @pratibhanevhare2757 10 місяців тому

    Thank you bro this video very helpful to me

    • @Rebellionrider
      @Rebellionrider  10 місяців тому

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

  • @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!

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

    THANK YOU

  • @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

  • @vicolodo1
    @vicolodo1 4 роки тому +1

    thank you very much, good explanation!!

  • @haimanotmenberu2926
    @haimanotmenberu2926 3 роки тому

    Thank you Manish

  • @LuisMarquez-SOA
    @LuisMarquez-SOA 4 роки тому +1

    Great video, thanks for the explanation.

    • @Rebellionrider
      @Rebellionrider  4 роки тому

      My pleasure always happy to be of help ☺️

  • @sanketkillekar
    @sanketkillekar 4 роки тому

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

  • @rafaeldavidalvarezgonzalez6173
    @rafaeldavidalvarezgonzalez6173 3 роки тому +1

    I love you, you're the Best!!

  • @eduardojavier112
    @eduardojavier112 3 роки тому +2

    how to configure it in oracle developer?

  • @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 3 роки тому

      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

  • @aboukaba402
    @aboukaba402 2 роки тому +1

    Thanks

  • @에덴리시버
    @에덴리시버 2 роки тому

    Thank you!

  • @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 ?

  • @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

  • @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?

  • @enesaltan5502
    @enesaltan5502 4 роки тому

    Thank you very much.

  • @madness817
    @madness817 2 роки тому

    thank you very much

  • @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

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

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

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

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

  • @hashimraza3331
    @hashimraza3331 2 роки тому

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

  • @Shelby63589
    @Shelby63589 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

  • @karthikms03
    @karthikms03 2 роки тому

    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

  • @madhuporeddy7204
    @madhuporeddy7204 4 роки тому +1

    Pls make the video on Scott user

    • @Rebellionrider
      @Rebellionrider  4 роки тому

      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

  • @nicksmith418
    @nicksmith418 3 роки тому

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

  • @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!

  • @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 2 роки тому

    Thank u ❤️

  • @abarth0800
    @abarth0800 3 роки тому +1

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

  • @joezoma5847
    @joezoma5847 3 роки тому

    Subscribed on the spot :)

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

    Jow i can create and execute triggers in oracle 21c

  • @debiprasadsahoo9726
    @debiprasadsahoo9726 3 роки тому

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

  • @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?

  • @pawebilski9859
    @pawebilski9859 2 роки тому

    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 Рік тому

      Have u find the solution bro

  • @arungupta5528
    @arungupta5528 4 роки тому

    Could you provide link to download Oracle 19c

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

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

  • @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!

  • @pratibhanevhare2757
    @pratibhanevhare2757 10 місяців тому

    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  10 місяців тому

      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.

  • @giriy3052
    @giriy3052 4 роки тому

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

  • @irumimtiaz-zo4bq
    @irumimtiaz-zo4bq 6 місяців тому

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

  • @ahsanulhouqe3303
    @ahsanulhouqe3303 3 роки тому

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

  • @ahmadali-zz8om
    @ahmadali-zz8om 4 роки тому +1

    OMG thank you a lot

    • @Rebellionrider
      @Rebellionrider  4 роки тому

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

  • @Ani_stores
    @Ani_stores 3 роки тому

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

  • @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 - ua-cam.com/users/shortsbeYcobrCKG0

  • @neelaptvptv7472
    @neelaptvptv7472 2 роки тому

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

  • @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..

  • @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.

  • @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.

  • @rahul0172ec
    @rahul0172ec 3 роки тому

    How to unlock Scott user

  • @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

  • @neelaptvptv7472
    @neelaptvptv7472 2 роки тому

    Logging denied ..plss tell me why

  • @vasanthakumare2791
    @vasanthakumare2791 3 роки тому

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

  • @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/

  • @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

  • @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 ua-cam.com/video/4EJcbQuaeR0/v-deo.html

  • @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

  • @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?

  • @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

  • @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?