Oracle installation:
First screen to ask for input:
Provide email and password if you need notification and if not just click on next.
From here oracle installization starts:
Choose options
SQL Plus is the environment to communicate withe the databae.
It contain sql.exe file
Logging into database:
eg: Alert user hr account unlock identified by hr;
Starting oracle:
enter user name: hr
Enter password: ********
Then follow above step to unlock account;
Here error message displays because only admin have authority to unlock accounts.
Again type:
SQL > connect
Enter user-name system
Enter password: **************;
Alternate way,
type connect system
Enter password:**********;
User is logged in;
Alternate way,
Connect user name /password;
Use alter command to chane the password and unlock the user...
show user:
it shows user connected to database.
use of "disconnect" command to logout from database.
Quit or exit disconnect user-name and close the database.
- Double click on setup.exe file.
- Oracle installer automatically checks requirements.
First screen to ask for input:
Provide email and password if you need notification and if not just click on next.
From here oracle installization starts:
Choose options
- Create and configure a database
- click on next
- laptop
- desktop
- click on next
- Global database name: orcl or change the database name if you dont want to install other oracle product. Better dont change default name.
- Administrative password: Oracle has more than 20 user sys and system.
- system user resize inside a database.
- sys is administrator.
- choose strong password which you could remember.
- Note read the warning message.
- Click on Next.
- it takes few time as it checks the requirement.
- Click on finish.
- Note after you click finish Here the real installation takes place.
- Change the HR user password here.
SQL Plus is the environment to communicate withe the databae.
It contain sql.exe file
Logging into database:
- Load SQL Plus: Double click on sqlplus or in command prompt write sqlplus.
- Type the username : It may be sys / system / etc.
- Type password: It is case sensitive.
- If your password is correct you will see the SQL environment.
- Use the sql command
- ALTER USER <username>
- ACCOUNT UNLOCK
- eg:
- ALTER USER hr
- ACCOUNT UNLOCK
- ;
- Use Sql command
- ALTER USER <username>
- IDENTIFIED BY <password>
- eg
- Alter user hr identified by hr;
eg: Alert user hr account unlock identified by hr;
Starting oracle:
enter user name: hr
Enter password: ********
Then follow above step to unlock account;
Here error message displays because only admin have authority to unlock accounts.
Again type:
SQL > connect
Enter user-name system
Enter password: **************;
Alternate way,
type connect system
Enter password:**********;
User is logged in;
Alternate way,
Connect user name /password;
Use alter command to chane the password and unlock the user...
show user:
it shows user connected to database.
use of "disconnect" command to logout from database.
Quit or exit disconnect user-name and close the database.
No comments:
Post a Comment