USERNAME, PASSWORD OF ORACLE9i SQL PLUS UNKNOWN
I installed Oracle 9i Lite Edition. The SQL Plus installed with it is not working with some default username, passwords like scott, system and internal.
There wasn't a tool in the installation that configured a username/password.
Plz help As I am unable to log in and I have my syllabus pending.
you may have better luck in the "installation" forum:
Database Installation
or the database - general forum:
General Database Discussions
Similar Messages
-
Username password works in SQL Plus not in SQL Developer
I have SQL Dev 1.2.1. It works fine with some databases, but with two databases with logons managed by Oracle Enterprise User it does not work. I receive an Ora 01017 error invalid username password. The user name and password work fine from SQL Plus and from a third party tool. I have a local developer client environment installed, so am using TNS. SQL Developer was installed before the client environment. I was not trying to access this database before the client environment install. I was using the basic connection before the client install. Neither basic or TNS connection works for this particular database.
Any ideas?We have changed the password and it still does not work. There are no special characters in the password.
I am tempted to think the problem is the jdbc driver versions. The logon for Enterprise user controlled databases stopped working after I installed the thick client Oracle developer. I have tried to find the threads with information on disabling the thick client jdbc but have not found them. I also have tried to enter a URL for the thin client without success. One of our DBAs is saying that the 11g clients are broken and he is in communication with Oracle about it. He says 10g works but 11g does not.
Any further help would be appreciated.
Gerry -
How to Hide password when invoking sql plus from command promt?
When i try to open sql plus in command prompt window and enter the sqlplus command follwed by username/password@connection string, the password is not hidden.
How do I get it to show **** instead of displaying password characters out?
Also, what is the command to clear screen : when I try cls or clear screen, I get a windows memory exception of somekind and the only option there is to kill the command window.
Any tips on getting around this?
Thanks a lot for your time and help.user8848256 wrote:
Can you please give more details on how to not enter password when calling sqlplus from command window like you are saying?
I tried this :
sqlplus username/ @connection string -->Hit Enter : it asks for password but does not recognise the connectionstring to connect to.
sqlplus username/ -->Hit Enter: It does same thing again.asks for password but gives tns adapter error after the password is entered.Leave out the slash:
sqlplus username@connect_string -
I downloaded the Oracle9i, i cant login the SQL server , so i need the user name, password and the host string !!!!
also i want to know which file in Oracle contains the service names so i can add my own service name !!!!!!
JehadI installed oracle 9i very smoothly . no problems at all . the username U can use - System and password is Manager or
Sys - change_on_install.
binu -
SQL*Plus variable assignment works for 8i but not 9i
We have scripts that connect to each database on the box and perform database tasks nightly. The scripts first set the environment then connects to each database with SQL*Plus. This works for 8i but fails in the recently created 9i environment. (Unix Solaris environment)
Because the SQL*Plus connection appears in many areas in the scripts, we assign the following connection string to a variable:
SQLPLUS="/usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba'"
Export SQLPLUS
echo "$SQLPLUS"
(This echo out correctly: /usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba')
It fails when the script calls the assigned variable:
$SQLPLUS <<-EOF
with the following error:
Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
<logon> ::= <username>[<password>][@<connect_string>] | / | /NOLOG
<start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
"-H" displays the SQL*Plus version banner and usage syntax
"-V" displays the SQL*Plus version banner
"-L" attempts log on just once
"-M <o>" uses HTML markup options <o>
"-R <n>" uses restricted mode <n>
"-S" uses silent mode
However, if I remove the SQLPLUS variable assignment and changed all occurrence of
$SQLPLUS <<-EOF to
/usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba' <<-EOF
Then the script runs successfully. But this solution is cumbersome.
Any ideas as to how to have the script work with assigning the SQLPLUS variable????
Any help is appreciated.I has an immediate suspicion it might be related to the issue
mentioned in
http://otn.oracle.com/support/tech/sql_plus/htdocs/sub_var2.html#2_7
but this proved wrong: the SP2-306 still occurs in the latest
SQL*Plus.
I wonder what version of 8i you had working? With an old SQL*Plus
8.1.7.0 my connection failed the same as in 9.2 and 10i.
My solution was to do:
SQLPLUS='sqlplus -s'
UNPW='/ as sysdba'
$SQLPLUS "$UNPW" <<EOF
EOFThis worked in 9.2.0.5, 10.1.0.2 and 8.1.7.0.
One common security risk on UNIX remains: putting the username and
password on the command line. On some systems a "ps" command will
show the password to any user. If OS authentication cannot be used
for connection, perhaps putting the username/password in the SQL
script may be more secure?
A final note is that in SQL*Plus 10g, no quotes are needed around
AS SYSDBA, i.e.
sqlplus / as sysdba works from the OS prompt, whereas in 9.2 you need to do
sqlplus "/ as sysdba"This makes a solution easy:
SQLPLUS="/usr/oracle/product/10.1.0/bin/sqlplus -s xxx/xxxxxx@xxxx as sysdba"-- CJ -
SQL*Plus assignment works for 8i but not 9i
We have scripts that connect to each database on the box and perform database tasks nightly. The scripts first set the environment then connects to each database with SQL*Plus. This works for 8i but fails in the recently created 9i environment.
Because the SQL*Plus connection appears in many areas in the scripts, we assign the following connection string to a variable:
SQLPLUS="/usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba'"
Export SQLPLUS
echo "$SQLPLUS"
(This echo out correctly: /usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba')
It fails when the script calls the assigned variable:
$SQLPLUS <<-EOF
with the following error:
Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
<logon> ::= <username>[<password>][@<connect_string>] | / | /NOLOG
<start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
"-H" displays the SQL*Plus version banner and usage syntax
"-V" displays the SQL*Plus version banner
"-L" attempts log on just once
"-M <o>" uses HTML markup options <o>
"-R <n>" uses restricted mode <n>
"-S" uses silent mode
However, if I remove the SQLPLUS variable assignment and changed all occurrence of
$SQLPLUS <<-EOF to
/usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba' <<-EOF
Then the script runs successfully. But this solution is cumbersome.
Any ideas as to how to have the script work with assigning the SQLPLUS variable????
Any help is appreciatedI has an immediate suspicion it might be related to the issue
mentioned in
http://otn.oracle.com/support/tech/sql_plus/htdocs/sub_var2.html#2_7
but this proved wrong: the SP2-306 still occurs in the latest
SQL*Plus.
I wonder what version of 8i you had working? With an old SQL*Plus
8.1.7.0 my connection failed the same as in 9.2 and 10i.
My solution was to do:
SQLPLUS='sqlplus -s'
UNPW='/ as sysdba'
$SQLPLUS "$UNPW" <<EOF
EOFThis worked in 9.2.0.5, 10.1.0.2 and 8.1.7.0.
One common security risk on UNIX remains: putting the username and
password on the command line. On some systems a "ps" command will
show the password to any user. If OS authentication cannot be used
for connection, perhaps putting the username/password in the SQL
script may be more secure?
A final note is that in SQL*Plus 10g, no quotes are needed around
AS SYSDBA, i.e.
sqlplus / as sysdba works from the OS prompt, whereas in 9.2 you need to do
sqlplus "/ as sysdba"This makes a solution easy:
SQLPLUS="/usr/oracle/product/10.1.0/bin/sqlplus -s xxx/xxxxxx@xxxx as sysdba"-- CJ -
Oracle SQL*PLUS Log-In Problems
I installed Oracle 9i Standard Edition yesterday and I logged in fine with my sys and system username and password in Oracle SQL*PLUS.
Today when I type in the same username/password, it doesn't let me access the software and gives me "error 01033: Oracle initialization or shutdown in progress" and shuts down in three tries...
I am not sure why so...any help?Like the error message says, the Oracle initialization is in progress. That means that it can't log you in because it is still busy starting up. If you try to logon three times before it is done starting up, it will exit the logon screen. Try waiting a while, perhaps a few minutes, before you try to logon. The slower your system is, the longer it may take to start up. For example, if you are using Windows on a PC, every time you start your computer, it starts your Oracle database along with everything else that is started automatically and, if you have a lot of stuff that loads on startup, it may take several minutes.
-
Sql Plus Help! (the window remain open)
I'm currently using sql plus to export data from oracle to text with spool command, in this way:
sqlplus user/[email protected] @F:\pathtosql\query.sql (this line is in a bat file)
where the file query.sql contain the spool comand
spool F:\textfile.txt;
set head on;
set pagesize 0;
set linesize 512;
set trimspool on;
set feedback off;
set termout off;
select field1, field2, ..., fieldn
from table;
spool off;
exit;
mi problem is when I run .bat (contining the sqlplus command) and for some reason the source database is not available the windows remain open requesting for a logon information, I want the windows close if are connection problem
Can I do that with sqlplus
ThanxSpecify the -L command line option to SQL*Plus, i.e.:
sqlplus -L username/password@db @blah.sql
(this will prevent the second prompt for username/password if the initial login is unsuccessful for any reason, like an invalid password). -
Connecting Oracle using SQL Plus in command window through LDAP settings?
Hi
Just like to know if it is possible to connect Oracle using SQL Plus with connection type as LDAP.
Generally we connect to Oracle in cmd window as
username/password@DBServiceName
Similarly is it possible to connect Oracle using SQL plus cmd window using LDAP configuration settings.
Eg:-
If my LDAP server is oid:123:456
Context is: cn=OracleContext,dc=abcdefgh,dc=com
DBService is: xyz
Regards
jcSpecify the -L command line option to SQL*Plus, i.e.:
sqlplus -L username/password@db @blah.sql
(this will prevent the second prompt for username/password if the initial login is unsuccessful for any reason, like an invalid password). -
OCI ORA-01017: invalid username/password;logon denied
I am attempting to connect to the database through OCI, and am receiving this error:
OCI ORA-01017: invalid username/password;logon denied
I know the username and password I am using is correct. Is there some setting in the init.ora file that needs to be configured to logon through OCI?
Please Advise
Thanks,
MikeThe Entreprise manager agent trace file (emagent.trc)
contains following error. Any idea what and where to
fix this?
2007-12-31 02:21:57 Thread-316441 WARN vpxoci: OCI
Error -- ErrorCode(1017): ORA-01017: invalid
username/password; logon denied
SQL = "
CISessionBegin"...
LOGIN =
ods/<PW>@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL
=TCP)(HOST=longines)(PORT=1521)))(CONNECT_DATA=(SERVIC
E_NAME=iasdb.com)))
2007-12-31 02:21:57 Thread-316441 ERROR vpxoci:
ORA-01017: invalid username/password; logon denied
2007-12-31 02:21:57 Thread-316441 WARN vpxoci: Login
0x1587ba8 failed, error=ORA-01017: invalid
username/password; logon denied
2007-12-31 02:21:57 Thread-316441 ERROR engine:
[oracle_ldap,iasdb.longines.com_LDAP,OIDserverSecRefSu
LoginSuccCC] : nmeegd_GetMetricData failed :
ORA-01017: invalid username/password; logon denied
ThanksGo to the agent setup pages, update the Metric Collection settings for that target. -
SQL* Plus not compatible with Suse Linux 10
hi! i am using suse linux 10 and since i lost my sys/ system password i need to restore it using " / as sysdba " to login, but the problem is when i tried to install the sql* plus it says that "it does not support my platform", is there another way i can reset back my system password with out sql* plus? or can anyone guide me in the installation of sql* plus instant client? thanks a lot! :-)
i'm sorry for the confusion. i tried to install sql* plus but running the script to install it gave me an error that "it does not support my platform, it only supports red hat, suse 9.... etc." my os is suse linux 10 (oss) and am using oracle xe... so meaning i just wanted to install sql* plus to have a command-line utility to use " / as sysdba " to reset my sys/ system password. because i can't remember my sys/ system password that's why i can't get in to http://localhost:8080/apex site to change my oracle db. thanks for the reply!
-
Username and password in SQL Plus
What happend to the Username/Password Scott/Tiger. I have installed Oracle9i, then i ran SQL-Plus, typed Scott in username and Tiger in Password. I only got ORA-12560 error. I also tried System/Manager, but got the same error. Can anyone help?
Best Regards:
Oskar Sundgot OvereThe error description is:
=================================
TNS-12560 TNS:protocol adapter error
Cause: A generic protocol adapter error occurred.
Action: Check addresses used for proper protocol specification. Before
reporting this error, look at the error stack and check for lower level transport
errors.For further details, turn on tracing and re-execute the operation. Turn off
tracing when the operation is complete.
===================================
Did you start your Oracle service before trying to connect?
Are you able to run your listener successfully?
did you setup a TNSNAMES entry for your database?
did you try connecting to the database by using scott/tiger@<tnsnames entry> -
What are the defaul username and password for SQL Plus ?
hello, what are the defaul username and password for SQL Plus ? i'm using the client 11.2.0.1
You'll need to download the full database installation files for the platform you are using. They are two .zip files, about 2.2 gig total.
I'm not going to give you the link because you should be able to find it easily. You have to read and accept the license agreement anyway.
When you install it, you'll be given several options about the type of database you want.
But before you install anything, you should read the installation manual for your platform. -
What to Enter in Username,Password and Host String in SQL Plus 8.0??
I downloaded Oracle Forms,Reports 6i.Along with it I got SQL Plus 8.0.Following
are not working
Username:scott
Password:tiger
Host String:Empty
or
Username :system
Password:manager
Host String:Empty
I want to Know what to enter for Username,password and Host String.If i want to look in the TNSNAMES.ORS Plz Tell What to look for in it.Developer 6i is a client software, not database server. Ask the dba of the database, you are trying to connect, for valid userids/passwords/hoststrings.
Werner -
Username and Password for Forms 6i SQL Plus 8.0
What is the default username and password for SQL Plus 8.0 that comes with the download of forms 6i from OTN. I have tried system, scott, and manager respectively and none of them work. Please help.
Thank YouMy DB instructor told me to try the following. I found the first one to work for me only the host field was empty. Good luck!!
User scott
Psswd tiger
host: orcl
User sys
Psswd change_on_install
host orcl
User system
Psswd manager
host orcl
Maybe you are looking for
-
Cannot delete file from disk after emailling that file like attachment
After i send some file from disk in Mail like attachment i cannot delete that file from disk unless i quit Mail. Like Mail is still using a file. Of course, that mail is in Sent mail, not in outbox.
-
My app updates in iPad won't install, when I hit update, it says my account is not valid in the Canadian store, and I must switch to the US store before purchasing. So, I sign out of Canadian store, and try to sign into US store, and that won't work
-
Tidy xml: clean xml data source form and characters
Hi, the xml data set that I'd like to display with spry includes many special characters such as < and >, which are also used by xml to separate the individual data elements. How can I replace those when the data are read, so that the data display co
-
HT3406 How to use my iPhone as an iTouch,
but it's a CDMA phone (no SIM card), so how would I do this?
-
Comparing count of one table with another
Hi, I want to compare the number of rows in three tables with the number of rows in another table and see if they are equal Here is what I have so far: SELECT decode(the_count,100,1,0) from (select sum(num_rows) as the_count from user_tables where ta