okay , This command is not working
create user username identified by password with admin option ;
It throws an error which says missing or invalid option
And i am logged in as system . I have tried searching Oracle docs and they have written the same command . what i am doing wrong here ?
You need to first create the user;
CREATE USER username IDENTIFIED BY password;
then separately grant privileges with ADMIN OPTION;
GRANT dba TO username WITH ADMIN OPTION;
"ADMIN OPTION" is a part of "GRANT" statement. You can't use it with "CREATE USER".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With