Tags: attached, database, dba, direct, group, helpi, login, mysql, oracle, own, sql, sqlplus, sysdba, unix
Login to sqlplus
anyone free to help?
i have my own unix ID and attached to group DBA, can i login sqlplus '/as sysdba' direct from my ID? or i need to su - oracle first? or at least sqlplus /nolog?
how do i do that?
many thanks in advance
Leave a comment...
- 4 Comments
- sorry forgot to tell
Linux sapl02 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
oracle version: oracle 9i 220.127.116.11.0
Thanks#1; Sat, 23 Feb 2008 19:21:00 GMT
- Why don't you just give it a try with
sqlplus "/ as sysdba" and let us know if you face any problem.#2; Sat, 23 Feb 2008 19:22:00 GMT
- Hi J,
when i login , it goes to default directory /home/dssmak (my id is dssmak)
when issue sqlplus '/as sysdba' it return as
-bash: sqlplus: command not found
however, i have checked other forum response and try out the solution and it works. this is what i do..
cd to ORACLE_HOME directory
then i able to sqlplus '/as sysdba'
but still want to find out how to do auto script without have to export ORACLE_HOME every time login with my own ID. do u know?
-Nonie#3; Sat, 23 Feb 2008 19:23:00 GMT
- keep them in ur .bash_profile [ its in our home directory]
This .bash_profile will be executed each time you login to the server, so you will not have to export it explicitly.
HTH#4; Sat, 23 Feb 2008 19:24:00 GMT