SQL> ALTER USER SCOTT IDENTIFIED BY TIGER ACCOUNT UNLOCK; User altered. SQL> SHOW USER; USER is "SYS" connected with SYS instead of SCOTT USER. how to connect with scott ?
Hi sir. i am facing issue with installing scott schema as i followed steps given in this video ....copy pasted scott.sql link but showing not connected .....please help sir
its seems that you are not using proper password for scott user, Follow the following steps: i. connect with sys user, ii. write the command : alter session set container = orclpdb iii. reset the user password: alter user scott identified by tiger; iv. connect with scott user: conn scott/tiger@orclpdb
Thank you sir, but I face a problem that after I run the scott.sql, when I try to show the users, it shows SP2-0640 error, I lost the connection, is there any solution?
@@DataScienceCenter I'm having the same problem. After running the command: F:\app\DB_HOME dbms\admin\scott.sql I wrote: select username from all_users; then this error occured: SP2-0640: Not connected What should I do?
@@tasmiar6440 disconnect (for me CTRL + C) then connect again (for me sys as sysdba, then the password), after that wrote again "select username from all_users;"
hi, i am getting like this while enable the scott user. Kindly help how to proceed CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED MOUNTED
Very nicely explained . THanks for making it so easy to all of us.
My pleasure 😊
Thank you so much for your information and help, finally figured it out only because of you.
Great to hear!
Thankyou Sir for the detailed explanation
Keep watching
very well explained... Thanks man
Glad you liked it!
Thank you very much!
You're welcome!
Thanks!!! So useful 😀
Glad it was helpful!
In scoot .sql user is not connected?
My SQL tool is not Show READ ONLY NO show from MOUNTED
Same problem bro
SQL> ALTER USER SCOTT IDENTIFIED BY TIGER ACCOUNT UNLOCK;
User altered.
SQL> SHOW USER;
USER is "SYS"
connected with SYS instead of SCOTT USER.
how to connect with scott ?
conn SCOTT/TIGER@YOURDATABASE_NAME
HI Bro, pls help me how to ifx this scott user to connect?
Hi sir. i am facing issue with installing scott schema as i followed steps given in this video ....copy pasted scott.sql link but showing not connected .....please help sir
Same here. I began to hate this oracl😂
its seems that you are not using proper password for scott user,
Follow the following steps:
i. connect with sys user,
ii. write the command :
alter session set container = orclpdb
iii. reset the user password:
alter user scott identified by tiger;
iv. connect with scott user:
conn scott/tiger@orclpdb
Thank you sir, but I face a problem that after I run the scott.sql, when I try to show the users, it shows SP2-0640 error, I lost the connection, is there any solution?
its seem that you got disconnected, connect again with scott user.
@@DataScienceCenter I'm having the same problem.
After running the command:
F:\app\DB_HOME
dbms\admin\scott.sql
I wrote: select username from all_users;
then this error occured:
SP2-0640: Not connected
What should I do?
@@tasmiar6440 disconnect (for me CTRL + C) then connect again (for me sys as sysdba, then the password), after that wrote again "select username from all_users;"
when i write show pdbs; ......its not showing anything
what to do..help me out sir?
its seems that your database is shutdown. first write the following command
startup open;
and then write show pdbs;
Bro it is sceen not connected bro so please explain us
connect with sys as sysdba and then write the commanad STARTUP OPEN
Sys as sysdba
Password??
you can press enter. password is not necessary for sys user.
SQL> conn scott/tiger
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
alter the user and then try to connect with scott user, make sure you are using proper database name.
hi,
i am getting like this while enable the scott user. Kindly help how to proceed
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED MOUNTED
its mean your database is shutdown. first startup open your database. follow the following video for this:
th-cam.com/video/2pVd8nj-csI/w-d-xo.html