Oracle10g Developer Suite - Application Development - SQL Plus Login Info
I have installed Oracle10g Developer Suite and when I am trying to login into the sql*plus environment the username scott with the passcode tiger is not working. I have Oracle9i Enterprise Edition Release 9.2.0.1.0 as the database.
Can anyone help me in setting up the username and password to login into Sql*plus Release 10.1.0.4.2
It sounds like you may be new to Oracle and its products. I would recommend doing some reading.
Oracle 9.2 Net Services Admin Guide
http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96580/toc.htm
Oracle Developer Suite Installation Guide
http://download-west.oracle.com/docs/cd/B25016_06/doc/dl/core/B16012_03/toc.htm
You create the "login" information when you install the database. If you are not the person who performed the installation, you will need to contact them or install it again. Also, be aware that the SCOTT schema is disabled by default in newer database versions for security reasons.
The tnsnames.ora and sqlnet.ora files can be found in the ORACLE_HOME\network\admin directory. This is the same for all Oracle products that use Sql-Net for database connections. You can also use the TNS_ADMIN environment variable to point to a pre-existing tnsnames.ora file (see previously mentioned documents).
The tnsnames.ora entry will be unique to your database and its listener however here is an example:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = someServer.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
Similar Messages
-
Oracle Developer Suite Applications Can't connect to Oracle 8i database
Hello,
I have Oracle 8i installed on my PC.
Now I have installed Oracle Developer Suite on it.
During the installation it never asked for a Oracle home directory. It may be detecting the same.
It has created separate menus and configuration files like tnsnames.ora for this installation. The SQL * Plus version is also different, which is 10.1.0.4.2.
Now when I try to connect using usual scott/tiger authentication it gives error
ORA-12560: TNS: Protocol adapter error.
Even after correcting the tnsnames.ora file, which is installed by DS with proper service name, the problem persists.
Please help.
-SameerI have uninstalled Oracle 8i.
Removed all the services from Windows services by deleting corresponding registry entries and deleted the Oracle folder.
I have reinstalled Oracle 8i, this time i changed the name of global database to oracledb.
I channged the tnsnames.ora file from DevSuite appropriately as:
# tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mscserver)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORACLEDB)
Still it can't login using scott/tiger authentication.
What may be the problem? Please help.
-Sameer -
BUG: ORA-00600 in SQL Developer while good in SQL*Plus
Just run the following PL/SQL script:
SET SERVEROUTPUT ON
<< outer_block >>
DECLARE
v_test NUMBER := 123;
BEGIN
DBMS_OUTPUT.PUT_LINE ('Outer Block, v_test: '||v_test);
<< inner_block >>
DECLARE
v_test NUMBER := 456;
BEGIN
DBMS_OUTPUT.PUT_LINE ('Inner Block, v_test: '||v_test);
DBMS_OUTPUT.PUT_LINE ('Inner Block, outer_block.v_test: '|| outer_block.v_test);
END inner_block;
END outer_block;
In SQL*Plus, you get the correct result, while in SQL Developer 1.5.4, you get:
Error report:
ORA-00600: internal error code, arguments: [12259], [], [], [], [], [], [], []
00600. 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]"
*Cause: This is the generic internal error number for Oracle program
exceptions. This indicates that a process has encountered an
exceptional condition.
*Action: Report as a bug - the first argument is the internal error numberMeanwhile a workaround is to enclose the whole lot in a BEGIN END;
-
Oracle9i Developer Suite - Forms Developer
I downloaded and installed Oracle 9i Developer Suite (9.0.2) - Complete installation but, I couldn't locate forms runtime application file (ifrun90.exe). Does anyone know whether oracle provides the forms runtime file (ifrun90.exe) or not in their free download product Oracle9iDS 9.0.2?
Thanks!yes mr.baba
u have to first create ur own jar file then use that jar file into ur formsweb.cfg file
create ur jar file in this way
jar -cvf mylogo.jar urlog.gif
then the jar file that will be created but it into ur
oracle_home/forms90/java directory
then set the variable archive_jini=f90all_jinit.jar,mylogo.jar
into formsweb.cfg file that is avaible in directory
oracle_home\forms90\server
i hope this procedure will work for u as i have already tried it.
Let me know
Best of Luck -
Unable to get SQL Plus login id & pw
Hi all, I am a beginner in using Oracle products.
Q1)
I am using windows vista and I have installed Oracle 10g on my machine, and when I tried to access SQL Plus, they prompted me for :
ID
Password
Host String
I do not know how to get/create those values. May I ask how to?
Q2)
How do I uninstall Oracle 10g from Windows Vista? I couldn't uninstall from the control panel.
Thanks!On that page you had the choice of...
1. Oracle Database 10g Release 2 (10.2.0.3)
Enterprise/Standard Edition for Microsoft Windows Vista
2. Oracle Database 10g Companion CD Release 2 (10.2.0.3)
10203_companion_vista.zip (677,074,714 bytes)
Download latest Oracle Application Express (formerly HTML DB)
3. Oracle Database 10g Client Release 2 (10.2.0.3)
10203_client_vista.zip (616,067,114 bytes)
If you select the first one then that looks like the full database, so you have installed a database locally on your PC.
When you choose the starter database there should have been an option to set the default password for all the default users with an option (usually missed) to set different passwords for each of the default users.
It's difficult to recall the details without actually going through an install which isn't something I do every day.
Best bet is in the installation forum.
;) -
Please assist...when i am trying to login following error is occuring ....
Enter user-name: / as sysdba
ERROR:
ORA-01031: Message 1031 not found; No message file for product=RDBMS,
facility=ORAMaran thanks for the prompts replies, i have already set the variables & restarted the machine but there is no change. please see below;
C:\Documents and Settings\Administrator>sqlplus
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
C:\Documents and Settings\Administrator>d:
D:\>cd oracle
D:\oracle>cd ora92
D:\oracle\ora92>cd bin
D:\oracle\ora92\bin>sqlplus
SQL*Plus: Release 9.2.0.6.0 - Production on Fri May 11 17:31:09 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: / as sysdba
ERROR:
ORA-01031: Message 1031 not found; No message file for product=RDBMS,
facility=ORA -
Hi,
I have database 8.05. For client server application on the client side we mention
D:\ORACLE\BIN\F50RUN32.EXE c:\test\test.fmx test/test@test
Now anyone can logon to sql plus and if he knows sql plus as the username and password is there. I dont want to remove sql plus from each machine and at the same time i dont want to user to logon to sql prompt.
Operation system is windows NT.
RgdsWhat you need to do is , give only CONNECT permissions to user TEST. So even if the user logs in SQLPLUS he wont be able to access any OBJECTS.
ALSO you need to create another Oracle user , which will have all the necessary permissions.
In your client application (FORMS), you need to connect using this new user after you have initially logged in using TEST user
Hope this helps
Ashwin N. -
Enterprise manager & sql* plus login failed
hi
this is the problem i encountered yesterday:
there are server_3 and rs_16 machines which are in D1 domain and server_1 in W1 workgroup. server_3 and rs_16 has no oracle software whatsoever and on server_1 8i database exists. other machines with 8i clients, all in D1 domain, succesfully connect to server_1.
i installed 10g database on server_3 machine; after installation i created a database db1. after the database was created, i tried to start enterprise manager (EM) and it failed (the database is not mounted ....), and i found out that tns listener wasn't created during the installation. so i created tns listener and started EM again and browser showed the proper page (username and login). so i entered sys as username, pswrd (created during the installation) and connect as sysdba. when i clicked on login button, the page refreshed but nothing happened, the same page (login) was still opened. i tried to connect from rs_16 and the same thing happened. this happened using internet explorer for opening EM. i tried to login as system, sysman but all in vain.
then i installed 10g on rs_16, created db2 database and found out that tnsnames.ora file was missing. created db3 as well, and all went ok. started EM, tried to login and the same thing happened as on server_3, browser just refreshed the page.
also have to say that i tried to connect to databases using sql* plus and login also failed.
also tried using administration assistent for windows and tried to connect to db3. when i tried to connect as sys acount (database authentication) login failed, but when i used os authentication i succeeded.
then i tried to start EM from another machine rs_13 (D1 domain) using internet explorer and i succeeded, there was no problem at all. after all, i installed mozilla firefox (1.0.6) on rs_16 and succesfully started EM for any database i wanted. but have to mention that i still can't connect to any db using sql* plus.
rs_13 setup:
- win 2000 + sp4
- ie 6.0.2600.0000IC
and rs_16:
- win xp + sp2
- ie 6.0.2900.2180.xpsp_sp2
server_3:
- windows server 2003
on every machine i was logged in as top administrator so i had any possible permission.
could anybody answer these questions:
1. why tnsnames.ora wasn't created?
2. why tns listener wasn't created?
3. why couldn't i start EM using ie on server_3 and rs_16 and could on rs_13?
4. why did login fail using sql* plus and why can't i still connect to any db using sql* plus? is it a problem of assigning some privileges or something else?
5. why did login fail using database authentication while succeeded using windows authentication in administration assistent for windows? what should i do to make it succeed? is this all problem due to ie browser, win security or oracle security?
6. why microsoft is giving me a hard time with their security?
thanks for help in advance
hope this post will help someone else as well !!
Message was edited by:
uncle carmine
Message was edited by:
uncle carminecould anybody answer these questions:
1. why tnsnames.ora wasn't created?
2. why tns listener wasn't created?I think you cancel Network Configuration Assistan which would create tnsnames.ora and listener. I hope others help you with the other questions I have plenty of work
Best Regards
Krystian Zieja / mob -
Hi
I have install Oracle 9i Enterprise Edition on Windows XP. Then I have created a database call "itcmdb". Then to login to SQL Plus in graphical mode I have enter
User Name: sys as sysdba
Password : password
Host String : itcmdb
Then I have got an error:
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb 17 16:46:17 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_string>] | /
so I try to log into SQL Plus by using command prompt. So i enter following command in the command prompt.
D:\>SQLPLUS /NOLOG
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb 17 16:50:34 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect sys/password@itcmdb as sysdba
Connected.
SQL>
the it was connected without any problem. Then i check "C:\oracle\ora92\network\admin\tnsnames.ora". So it was contain following information.
ITCMDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Rasika)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME=itcmdb)
Then i check "C:\oracle\ora92\network\admin\listener.ora". so it was contains following information.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rasika)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ITCMDB)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = ITCMDB)
Cold u plz help me to fix this problem........Hi
I have install Oracle 9i Enterprise Edition on
Windows XP. Then I have created a database call
"itcmdb". Then to login to SQL Plus in graphical mode
I have enter
User Name: sys as sysdba
Password : password
Host String : itcmdb
Then I have got an error:
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb
17 16:46:17 2006
Copyright (c) 1982, 2002, Oracle Corporation. All
rights reserved.
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::=
<username>[<password>][@<connect_string>] | /
so I try to log into SQL Plus by using command
prompt. So i enter following command in the command
prompt.
D:\>SQLPLUS /NOLOG
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb
17 16:50:34 2006
Copyright (c) 1982, 2002, Oracle Corporation. All
rights reserved.
SQL> connect sys/password@itcmdb as sysdba
Connected.
SQL>
the it was connected without any problem. Then i
check "C:\oracle\ora92\network\admin\tnsnames.ora".
So it was contain following information.
ITCMDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Rasika)(PORT
)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME=itcmdb)
Then i check
"C:\oracle\ora92\network\admin\listener.ora". so it
was contains following information.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =
)(HOST = rasika)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ITCMDB)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = ITCMDB)
Cold u plz help me to fix this problem........on the sqlplusw gui you can not pass sys as sysdba as this option is available in OEM or other FRONTEND tools, wherein they inherently implement connect command.
Hope this helps ! -
Installed Oracle 9i enterprise edition from disk set provided with course text on advanced database concepts.
Received registration key from oracle but no user name or password to open a session on SQL Plus. Cannot logon.
Does anyone have info on who to contact?I followed your suggestion and pulled up the configuration assistant. I managed to create a password without being sure of anything I was doing and voile!
I was able to log on to SQL PLUS.
Thanks for the tip! -
Question about setting column width in SQL*Plus using info retrieved w SQL
Good morning,
Is there a way to tell SQL*Plus to set the width of a column to the greatest width of the elements found in the column ? (as opposed to the default which is the width declared in the DDL)
In other words, I'd like to do something functionally equivalent to this:
COL <columname> format a[select max(length(<columnname>)) from <thetablethatcontainscolumname>]
I'm doing the above manually in two steps
1. select max(length(columnname)) from .....
2. col columnname format a[resultofstep1]
Is there a way of doing it in one step ?
Thank you for your help,
John.Hi Munky,
>
you should consider whther you are using the correct tool for the job, SQLplus isn't exactly ideal for doing presentation layer stuff
>
I'm not really doing presentation stuff, I asked because it would be very convenient for everyday stuff. I commonly query the tables that I am going to deal withm just to have a look at the column names and a few values, something like:
select * from EMP where rownum <= 10; -- just to have a look at the table and some values
when the table contains a wide column then the display gets all messed up. It would be nice to have an option or a mechanism to tell SQL*Plus to automatically use the width of the widest value, instead of having to determine the value and then manually set the column.
thank you for your help, it's good to know that I didn't miss some trivial setting in the documentation that would do it ;)
John. -
SQL Developer output vs. SQL Plus output
Hi, newb with issues showing output. I have a simple function that works correctly when called in SQL + however, when I right click and run in SQL Developer, I get a Run PL/SQL window with:
v_Return := LISTEMPLOYEETELEPHONES();
-- Modify the code to output the variable
--DBMS_OUTPUT.PUT_LINE('v_Return = ' || v_Return);
Where does the output go ? If I uncomment the DBMS_OUTPUT.PUT_LINE, I get a wrong number or types of arguments in call to '||'
What am I doing wrong ?Hi mattgn,
not to fire a discussion, just to be little more precise ;-)
I don't get your answerWell, I hope pmacd55 gets it, as he's the one with
the problem.This is a pubblic forum, everybody should get something useful here. I didn't stated that I was right and you wrong, not at all. Simply, If I don't get it, probably also somebody else will not get it as well.
I misunderstood the first poster, my eyes slipper over "UNcomment": reading as "If I COMMENT the DBMS_OUTPUT.PUT_LINE, I get a wrong number or types of arguments in call to '||'" I thought that in some way SQL Developer could break the line before the submission of the statement.
So, your hypothesis looks the right one. -
Hi. I am just reading through my PL/SQL 101 book and exam guide for preparation for the 1Z0-007 exam. I have downloaded Oracle 9i and I cannot login to SQL+ at all. I want to use my database as a stand alone system for the time being until I can network my other computer with my new one.
All I want is to get into SQL+ so that I can practice pl/sql code for the exam.
Can anyone help me? What steps should I do?
thank you, comments and solutions are greatly appreciated.
KarinIf you are connecting a local default database (which you may be if I make a guess at your configuration), you don't need to enter anything in the host string field. Just enter the username and password.
If you are connecting to a remote database, or non-default database, you need to enter a connect string in the host strint field. To find your connect string, look in your tnsnames.ora file (in the network/admin directory) and you will see an entry for the default database you created. Use the value set for SERVICE_NAME.
Alison
iSQL*Plus Team -
Partner application access to portal login info
How can an SSO partner application (Java) tell whether or not a user has logged in to Portal?
I need to log activity in a public application servlet, so I'd like to log the user as PUBLIC if not logged in or as their actual userid.
I don't seem to have access to this info until the user has visited a secure part of the app.
Any pointers would be appreciated.
Thanks
RobDIY answer ...
The cludge I used to get round this was ...
Make a PL/SQL item which displays a Login or Logout link as appropriate, based on the current userid from portal.wwctx_api.get_user.
The login link goes to a secure portal page called FORCE_LOGIN, passing a URL parameter called nextPageURL which contains the URL of the next page to show after the login is complete. You can use portal.wwpro_api_parameters.get_value( '_pageid', 'a'); to help build the current page URL if you want to retun to the current page.
The FOIRCE_LOGIN page contains a PL/SQL item which builds an IFRAME whos src is a URL to my app servlet ForceLoginServlet, passing on the nextPageURL parameter. Use portal.wwpro_api_parameters.get_value( 'nextPageURL', 'a'); to help with that.
The ForceLoginServlet is a secure servlet (set up in web.xml) so that forces a silent authentication to my app. All the servlet does is display HTML to redirect back to the URL in nextPageURL.
Horrible! But it does the job.
Anyone who know a better way of doing this, please tell me.
Rob -
Downloading Oracle Development Suite
Ok, I logged onto the Oracle Technology Network, Selected downloads/Oracle Development Suite 10g(9.0.4), checked off that I was not a subversive and was willing to sell my first-born if there were troubles, and got to the screen where I selected the "disk 1" download.
While that was loading, I closed the site and went off to do other work.
I dutifully finished and I returned to download Disk 2.
It got me to where I checked no I wasn't a subversive and yes, I was offering my first-born, and it then went to the last screen...
For about 5 seconds. It then returned to the subversive/first born screen.
I have done this several times over the last couple of hours, with two different browsers.
HELP!
Does anyone know anything about this?
Dave Hay1) You don't need the Oracle Developer Suite to get SQL*Plus. That comes with the Oracle client. The Developer Suite is for mainly Oracle Forms and Oracle Reports development primarily (JDeveloper is also included but that can be downloaded stand-alone)
2) On the same page that you download the Developer Suite, there is a link to documentation that walks you through the installation process.
Justin
Maybe you are looking for
-
2 Queries within 1 workbook in BEx BI7.0
Hi Experts, I know that there is a new method of creating a workbooks in BI7.0 using the Design Mode. Suppose I have put 2 queries within 1 sheet in excel (one on top of the other). I did this by inserting 2 analysis grids within the same worksheet.
-
Can I perform persistence activities from within a JPA lifecycle event
I have a question about what is valid while inside JPA lifecycle events like @PrePersist or even Eclipselink lifecycles like postBuild. I would like to perform persist and delete operations from within these lifecycles, however they seem to get lost
-
Hi, Does anyone have an experience with implementing SCE MGSCP topology and enforcing global BW limits for particular protocols (eg. P2P)? As far as I understood, each SCE within MGSCP cluster has the same PQB file applied, but each SCE enforces defi
-
Crystal Report Some images Broken occassionally
Hi, In the report, there are about 10-50 jpg images (each are below 200k) and the images are store in SQL Server 2005 as a image bytes format. All of these images can be viewed in the web application (.net) and when I generate the report, sometimes (
-
Idoc serialization for vendor and address master
Hi friends, My gole is to transfer vendor master data from one sap ecc system to other ecc through PI. I have achived this but the gmail and address data is not transfering as this is not a part of vendor master but even this address data need to pas