由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - How to creat user in Oracle?
相关主题
Help: 如何在oracle 9i 中添加1 个user?found a way to corrupt oracle on NT
servlet调用sql 访问oracle的问题 Error Code 01034?
SQL Developer ORA-01017 错误connect to an oracle server on anoter machine
newbie's question about oracle我的oracle 怎么了?
Drop table error.question on JOIN on Oracle
dbms_java error, need help...Oracle的一个问题
Oracle database link problem如何在Unbuntu下启动oracle
Debugging in SQLPLUS, need help【已解决】oracle db link
相关话题的讨论汇总
话题: oracle话题: user话题: sqlplus话题: password话题: database
进入Database版参与讨论
1 (共1页)
l***s
发帖数: 28
1
I recently start learning the Oracle 9i. I installed the Oracle
in Linux under user Oracle. So when I login as Oracle, I type
sqlplus
Then it asks me user and password. I am confused about this. Since
I have not been able to open the Oracle database yet, how can I
have a user and password for the database? I must be able to login
in as an administrator and for the first time I should have a
default password. Is this right? I learnt that I can prompt to
sqlplus without login. But can I do any adm
p*********e
发帖数: 204
2
Try scott/tiger. That's a typical set of username/password. There should be a
few users already created in your Oracle database. system/manager should work
too.

【在 l***s 的大作中提到】
: I recently start learning the Oracle 9i. I installed the Oracle
: in Linux under user Oracle. So when I login as Oracle, I type
: sqlplus
: Then it asks me user and password. I am confused about this. Since
: I have not been able to open the Oracle database yet, how can I
: have a user and password for the database? I must be able to login
: in as an administrator and for the first time I should have a
: default password. Is this right? I learnt that I can prompt to
: sqlplus without login. But can I do any adm

l***s
发帖数: 28
3
great! scott/tiger works! ^_^ thanks so much. btw, if a select result is
too long, how to slow it down and shown in multi-pages? like the |more
does for UNIX commands?
thank you

【在 p*********e 的大作中提到】
: Try scott/tiger. That's a typical set of username/password. There should be a
: few users already created in your Oracle database. system/manager should work
: too.

p*********e
发帖数: 204
4
With SQL*Plus, I don't know if there is a way to make it stop at the end of
each page, like the |more does. You might have to try a different querying
tool. SQL*Plus is about the least user-friendly tool I've used.

be a
work

【在 l***s 的大作中提到】
: great! scott/tiger works! ^_^ thanks so much. btw, if a select result is
: too long, how to slow it down and shown in multi-pages? like the |more
: does for UNIX commands?
: thank you

m******t
发帖数: 2416
5

When you are in sqlplus,
spool results.txt
select * from your table
spool off
would write all the rows selected to results.txt.

【在 l***s 的大作中提到】
: great! scott/tiger works! ^_^ thanks so much. btw, if a select result is
: too long, how to slow it down and shown in multi-pages? like the |more
: does for UNIX commands?
: thank you

l***s
发帖数: 28
6
I see. so there aren't commands to do the |more thing in sqlplus...
thanks..

【在 p*********e 的大作中提到】
: With SQL*Plus, I don't know if there is a way to make it stop at the end of
: each page, like the |more does. You might have to try a different querying
: tool. SQL*Plus is about the least user-friendly tool I've used.
:
: be a
: work

l***s
发帖数: 28
7
great, this way worked for me..thanks alot. ^_^

【在 m******t 的大作中提到】
:
: When you are in sqlplus,
: spool results.txt
: select * from your table
: spool off
: would write all the rows selected to results.txt.

l***s
发帖数: 28
8
oh, I just found something. I would like to share with your guys...^_^
we can use
set pause on;
to activate the paging feature, so that the ouput will pause at the end of
each screen...^_^
thanks

【在 l***s 的大作中提到】
: I see. so there aren't commands to do the |more thing in sqlplus...
: thanks..

p*********e
发帖数: 204
9
Nice to know. Thanks :)

of
querying

【在 l***s 的大作中提到】
: oh, I just found something. I would like to share with your guys...^_^
: we can use
: set pause on;
: to activate the paging feature, so that the ouput will pause at the end of
: each screen...^_^
: thanks

l***s
发帖数: 28
10
hi, you know what? this scott/tiger pair worked for almost two days
and not it stops working...:( is it designed to be like that? let you
work with it for only the beginning? or what? now i have no user and
passwork to use le...555

【在 p*********e 的大作中提到】
: Try scott/tiger. That's a typical set of username/password. There should be a
: few users already created in your Oracle database. system/manager should work
: too.

相关主题
dbms_java error, need help...found a way to corrupt oracle on NT
Oracle database link problem Error Code 01034?
Debugging in SQLPLUS, need helpconnect to an oracle server on anoter machine
进入Database版参与讨论
m******t
发帖数: 2416
11

use SYS/change_on_install, or SYSTEM/manager to log in as SYSDBA, then create
new users.
BTW, do take a hint from the default password and change it after the first
time you log in. 8-)

【在 l***s 的大作中提到】
: hi, you know what? this scott/tiger pair worked for almost two days
: and not it stops working...:( is it designed to be like that? let you
: work with it for only the beginning? or what? now i have no user and
: passwork to use le...555

l***s
发帖数: 28
12
both the SYS/change_on_install and the SYSTEM/manager are said to be :
ORA-01017: invalid username/password; logon denied
:(

【在 m******t 的大作中提到】
:
: use SYS/change_on_install, or SYSTEM/manager to log in as SYSDBA, then create
: new users.
: BTW, do take a hint from the default password and change it after the first
: time you log in. 8-)

m******t
发帖数: 2416
13

Nobody else uses that oracle instance, right? Try those passwords again with
all upper-cases - I don't remember which cases they are...

【在 l***s 的大作中提到】
: both the SYS/change_on_install and the SYSTEM/manager are said to be :
: ORA-01017: invalid username/password; logon denied
: :(

s*******e
发帖数: 151
14
after you log in to the oralce,
you can try this:
sqlplus /nolog
and you can connect as sysdba.
s*******e
发帖数: 151
15
by the way, did you create your database? maybe you need to create your
database first. you can use "dbca" command and create your database.
s***m
发帖数: 28
16

You may want to create a database first before you create any user. Login as
dba create database, then create user with proper privilege in your database.
On Orace machine
sqlplus /nolog;
connect system as sysdba;
######Then create your user#############3
create user yourusername identified by 'password';
grant connect to yourusername;
grant resource to yourusername;
You need to setup appropriate tablespace for your user so user will not put
junk into system tablespace.

【在 s*******e 的大作中提到】
: by the way, did you create your database? maybe you need to create your
: database first. you can use "dbca" command and create your database.

l***s
发帖数: 28
17
this is very helpful...many thanks...^_^

【在 s***m 的大作中提到】
:
: You may want to create a database first before you create any user. Login as
: dba create database, then create user with proper privilege in your database.
: On Orace machine
: sqlplus /nolog;
: connect system as sysdba;
: ######Then create your user#############3
: create user yourusername identified by 'password';
: grant connect to yourusername;
: grant resource to yourusername;

1 (共1页)
进入Database版参与讨论
相关主题
【已解决】oracle db linkDrop table error.
Create tablespace using dbconsole in Oracle 11gdbms_java error, need help...
Oracle Default passwd for SYS, SYSTEM is not valiOracle database link problem
Oracle not available - what's that mean?Debugging in SQLPLUS, need help
Help: 如何在oracle 9i 中添加1 个user?found a way to corrupt oracle on NT
servlet调用sql 访问oracle的问题 Error Code 01034?
SQL Developer ORA-01017 错误connect to an oracle server on anoter machine
newbie's question about oracle我的oracle 怎么了?
相关话题的讨论汇总
话题: oracle话题: user话题: sqlplus话题: password话题: database