I have downloaded Oracle - OraDb11g_home1 and I want to use sqlplus.
The problem is, when I open sqlplus, it's prompts me for username and password which I don't think I have.
Is there a way to log in as a default super user and create a new account?
Thanks
Start SQL*Plus:
C:\> sqlplus /NOLOG
Connect as SYSDBA:
SQL> CONNECT / AS SYSDBA
change password and connect again.
ALTER USER username ACCOUNT UNLOCK;
ALTER USER username IDENTIFIED BY password;
Related
I've installed the Oracle 11g express then the Oracle Sql Developer. Now, I'm trying to connect both as the Oracle website says (usename and password are both hr), but I'm getting an error (see screenshot).
I've tried other roles besides default, but I'm getting either the account is locked or not enough privileges.
I'm stuck. Thanks for helping
By default, the "standard" accounts (like HR) are locked after installation. You must log in as SYS as SYSDBA and unlock them.
If you are using SQL Developer, you can do this by connecting as SYS (I assume you created a connection, if not you should create it; make sure to use the SYSDBA role in connection properties). Once logged in as SYS with the SYSDBA privilege, on the left in the Connections pane expand the SYS node (click on the + sign next to it). At the bottom of the list that opens up, find the Other Users node. Expand it and right-click on HR. Select Edit User, and on the User tab of the pop-up window, uncheck the box next to "Account is Locked".
Please login to command line - sqlplus
Login as the user 'system'
Type -- alter user hr identified by "password" account unlock;
"password" should be the new password
Login with the new password.
I've installed Oracle Database 11g on Windows 7, and when I open the Database Control, I get this page :
In the installation I choosed orcl as Username and orcl as Password, but when I enter them I get that the the username and/or password are invalid.
How can I solve this problem ?
Log in to the database using the user name SYS and connect as SYSDBA.
Use the password that you specified for the SYS account during the installation.
for further info follow this link
http://docs.oracle.com/cd/B19306_01/install.102/b15660/rev_precon_db.htm
This problem happens due to deprecated OracleDBConsoleSID startup.
Use:
emctl stop dbconsole
emctl start dbconsole
Then close the tab and open EM URL in new tab.
Use your SYS credential to log in.
I am new to Oracle. I would like to know how to set login password for sqlplus / as sysdba in oracle 11g.
I want to set the password for my next login, i dont want to login as sqlplus / as sysdba since anyone can log in using sqlplus / as sysdba and can easily access the data or change password for the existing user.I need to restrict the login.
To set a new password you should (after connecting to the DB):
alter user SYS identified by "newpassword";
But if you want to prevent connecting without a password - sqlplus / as sysdba, then you need to add this:
SQLNET.AUTHENTICATION_SERVICES=none
in sqlnet.ora
Not just anyone can login using sqlplus / as sysdba. The OS user must be a member of the OS DBA group created to manage the database (this group can have a different name).
You should only be assigning real DBAs membership of this group. And, in my opinion, no one should ever login as oracle (assuming a Unix(-like) system here).
SQLPLUS username/password#identifier_name
I'm trying to connect via ODBC to a clean install of Progress DB. Any idea what username/password should I use?
Did you try :
-user sysprogress
-password 123
Out-of-the-box you have two options to access the database with an account that has DBA privileges granted:
The credentials of the operating system account under which you've created the database.
You can manually create or, if it already exists, modify the special user SYSPROGRESS with the 4GL data administration tool. You cannot change it's password but you can delete and re-create it with a password of your choice if you have the credentials of an account on the 4GL engine that has the privileges to do so.
Both users will have DBA privileges.
Which user can I set up a new user in Oracle 11.2.0 ?
i connect with scott/tiger as normal (i cant connect with sysdba)
how i can create new user ?
how to connect with power user for this ?
thanks in advance
Gali-
Out of the box the Scott user lacks the required privileges to create users and/or connect as sysdba.
Using the command line sqlplus utility:
$ sqlplus / as sysdba
This will log you in as the SYS user on the database for which you want to create the new user. From here you can issue your standard
CREATE USER foo IDENTIFIED BY bar;
Alternatively, when you setup and installed the database, you should have been prompted for a SYS user password. You can use this account to log in via a GUI (say Toad or SQL Developer) using the "SYSDBA" connection property.
Hope this helps.
-CJ