[oracle] oracle 11g 的安装后怎么使用

本文为Oracle新手提供了实用指导,包括如何使用Database Configuration Assistant创建全局数据库,以及如何解锁和设置账户密码以便登录到创建的数据库。

For fresh man, if you didn't know oracle before, maybe confused after oracle installed, ok, here is one way as your reference

 

1. Open Start > Oracle - OraDb11g_home1 > Configuration and Migration Tools > Database Configuration Assistant, then follow the guide to create a global database. Here I create a database named TestSample

(at the end of db creation you can unlock system account, like: SCOTT, and set a password for it. Then u can use it to login Test Sample)

2. If you forgot to unlock account to login in this db, here is what u can do:

2.1 Open Start > Oracle - OraDb11g_home1 > Application Development > SQL Plus

2.2 Enter following command to login global db:

sql plus / as sysdba

2.3 Then chose one account that you want to login in db (take SCOTT as an example here)

2.4 Enter following command to unlock SCOTT account

alter user SCOTT account unlock;

2.5 Enter following command to set password for SCOTT

alter user SCOTT identified by 123456;

 

Now you can connect into oracle "TestSample" db with SQL Developer tool and SCOTT account (password is 123456)

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值