I'm using Windows 7 64-bit os with oracle 11g. I created a database succesfully. i'm loging in using sqlplus with correct username/password, but it giving the invalid username/password. Logon denied. We are more than 10 people using the same kind of machine and softwares and everyone following the same documentation for installation. Except me every one can able to login properly. What's the problem ? I'm not changed any username and password. Is system side issue or installation problem or database setup problem?
Unlikely to be database or installation related. Pre 11g, with case-insensitve passwords, very
exotic passwords could give trouble if the uppercase value of the password was different depending on NLS settings.
Could be a 'sticky key' when you entered the password during installation. Or, if you touch type, you might have been offset by a key.
try a "sqlplus / as sysdba"
If that works, reset the password with ALTER USER username IDENTIFIED BY password
If you can't get in as sysdba you should try using a Windows admin account.
In 11G passwords are case sensitive. So make sure you type in your password correctly.
What was the password you used when creating the new user ?
Oracle 11 G and 12 C versions suggest to use more complex passwords, Although there is no issues during the user creation. The password must be alphanumeric and with special character.
Verify the password version and status of the user:
select * from dba_users where username = <user_name>;
Amend it to be like below in case of 11G 12C:
alter user <user_name> identified by Pass2019$;
Now test connection!
Related
i have install oracle 19c in my PC, but when i want to connect using SQL Plus i cannot login. i got error like this
the error is like my password wrong or cannot open.
when i install the installer not require password. when i try to use default password as password i got error. so how to fix my problem here ?? i have try search in internet how to fix it but still got error
i use Windows 10 for this Oracle19c
There's no default password any more; was until (I think) 10g.
If you're logged on to Windows 10 as user who installed Oracle software, then - at the operating system command prompt - run
sqlplus / as sysdba
/ means that Oracle trusts your operating system account as it is recognized as the "owner" of installed Oracle software and should let you in. Once you're logged into the database, change any password you want for any user you want, e.g.
alter user sys identified by some_new_password;
The TNS: Protocol adapter error usually means you don't have your envirnoment set correctly
Try defining the ORACLE_SID variable with your database name and then connect again /as sysdba
Also, i'd advise you to set your ORACLE_HOME too, if it's not already
set ORACLE_HOME=<YourOracleHomePAth>
set ORACLE_SID=<YourDBName>
There's no default password, the installer should've asked you to set a password for your SYS and SYSTEM users - if you don't remember them, you can always change them, once connected to the Database, by issuing the command
alter user sys identified by <NewPassword>;
alter user system identified by <NewPassword>;
So I have this old Oracle database that I want to some migrate to some other db system.
You'd think that username and password is straight forward, but not when using something by Oracle.
So for sqlplus I just run the command sqlplus and it asks for username and password.
As the user I type in "orcl as sysdba" and then I type in the password. This works.
But SQL Developer doesn't accept that. It has a input field for username. And a select box with options like "standard", "SYSDBA" etc. No matter what I type in it always rejects the credentials.
It also asks for a SID, for which I just use ORCL, because it's the only thing I found where it doesn't complain about that.
I know that "orcl as sysdba" is the correct username for sqlplus. So what is the username for SQL Developer? Why is it not the same? Why does sqlplus not ask for the SID?
It's Oracle 12c from an old project. There is supposed to be a Flash tool at https://localhost:5500/em but the login also doesn't work there.
I have imported a table space from a dump that was made on the production server. I used Oracle 12c because the dump file indicated that this was the version used to dump the data.
Log into Oracle using SQL/Plus as SYSDBA and reset the password for a user account and then log into that account on SQL Developer using the newly reset password.
In SQL/Plus, from the account with the SYSDBA privileges, if you want to change the password off the my_user user then:
ALTER USER my_user IDENTIFIED BY MyNewPassword123;
I know that "orcl as sysdba" is the correct username for sqlplus. So what is the username for SQL Developer? Why is it not the same? Why does sqlplus not ask for the SID?
It is not a correct username. orcl is the username (or maybe the SID) and SYSDBA is the elevated level of privileges you wish to use once connected. You do not need to specify a username if you are connecting via SQL/Plus from the file system local to the database with SYSDBA privileges and can just use:
sqlplus / AS SYSDBA
and your access is authenticated using operating system authentication.
If you want to connect to a user with SYSDBA privileges then you probably want the default sys or system users (and to be careful what you do when connected as those users as you will have full control of the database and can do anything, including changing settings so you break the database).
Something like this:
If you want to find out what user you are connected as (in SQL/Plus) then:
SELECT USER FROM DUAL;
You can then use the same username that that outputs (and the appropriate password, which you can reset using the commands above if required) in SQL Developer.
I just installed Oracle 12C on my home machine and didn't remember it asking to create any credentials during installation. Now, when I'm trying to connect to sample ORCL database, it's prompting one and not letting me in without!
Log on to the Oracle DB server machine as a user who installed it, so that you can access the db as SYS using:
sqlplus / as sysdba
When you get connected, you will be able to reset password for all the other users, including SYSTEM and the other “built-in” users as bellow:
ALTER USER user_name IDENTIFIED BY new_password;
I installed Oracle 11gR2 on my linux server. When I want to login via sys user on my db, I enter "sys as sysdba" and when system give password , I push enter and I can login on my db with sqlplus.
But, when I try to connect on Windows with PL-SQL tool, system wants to password. If I didn't write password (I defined password, password is "sys"), I cannot login on my db.
Why?
When you connect on the same server you're being authenticated by the operating system; you can give any password you like, or it's more common to use / as sysdba.
When you connect from PL/SQL it'a a remote connection; operating system authentication isn't possible, so you're using password authentication.
When you install oracle, it creates OSDBA and OSOPER groups. Any members of this groups will have OS authentication and can logon without a password.
When you connect from another machine, it's a remote connection and you must enter the password.
More info in the documentation.
I had such a problem and even with Oracle 12c on my linux server and what i did was that each time I open a new terminal I first type
"export TWO_TASK="
(without the the quotations) followed by pressing
enter.
Next I could then go ahead to type sqlplus "/as sysdba" (now as it is with the quotations)
to connect and continue.
I have a global database, name - ABN, Username - ABNTEST and password - abntest123.
This password expired and all system default passwords have also expired. Some usernames and passwords for the system have been forgotten.
How can I connect to the ABD database?
I'm getting the error below while connecting to my database:
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.AUD$ by 1024 in tablespace SYSTEM
ORA-28001: the password has expired
How can resolve this error?
1) login to Oracle's operating system with Oracle's credentials.
If it is UNIX/Linux you can use Putty programme.
2) From the command line run the following command:
sqlplus / as sysdba
(If you do not have the credentials you have to ask your DBA or SYSADMIN to do that.)
3) after you are connected change the user's password, i.e.:
ALTER USER abntest IDENTIFIED BY abntest123;
Sometimes passwords cannot repeat itself than you have to change it to something else.
Tip for future: There is one good open source software to keep passwords: "Password Gorilla"