The first step: super administrator login oracle "conn / as sysdbaconn / as sysdba" Step two: Delete the specified user "drop user shiot cascade" The third step: re-create the user "create user shiot identified by shiot; first four steps: to authorized users "grant dba to shiot" step five: landing specified user "conn shiot / shiot
delete users
1 2 3 4 5
Delete users and the following table conn / AS sysdba drop the User shiot Cascade; the Create the User shiot IDENTIFIED by Ze large column oracle notes VIII: delete create user ri_200; Grant dba to shiot;
note
Sometimes the error ORA-01940: can not drop a user that is currently connected
This is because the system users connected to the user, need to kill
1 2 3 4 5 6 7 8 9 10 11
select sid,serial# from v$session where username='SHIOT'; alter system kill session '6874,5525';