Problem in connecting Database by using SQL Developer
Hi,
I recently installed SQL Developer after installing Oracle 10g and am trying to connect existing database. could anybody help me to connect and what credential should i required to connect.
Thanks in advance
LN Reddy
I am new to oracle myself, so I apologize if this information is not helpful. But I have a number of connections to a local database on my laptop. The way that I connected is using the 'Basic' tab with the following settings:
Hostname: localhost
Port: 1521
SID: orcl
And of course the username above.
I hope that might be helpful.
Similar Messages
-
IBM DB2 to Oracle Database Migration Using SQL Developer
Hi,
We are doing migration of the whole database from IBM DB2 8.2 which is running in WINDOWS to Oracle 11g Database in LINUX.
As part of pre-requisites we have installed the Oracle SQL Developer 4.0.1 (4.0.1.14.48) in Linux Server with JDK 1.7. Also Established a connection with Oracle Database.
Questions:
1) How can we enable the Third Party Database Connectivity in SQL Developer?
I have copied the files db2jcc.jar and db2jcc_license_cu.jar from the IBM DB2 (Windows) to Oracle (Linux)
2) Will these JAR files are universal drivers? will these jar files will support in Linux platform?
3) I got a DB2 full privileged schema name "assistdba", Shall i create a new user with the same name "assistdba" in the Oracle Database & grant DBA Privillege? (This is for Repository Creation)
4) We have around 35GB of data in DB2, shall i proceed with ONLINE CAPTURE during the migration?
5) Do you have any approx. estimation of Time to migrate a 35 GB of data?
6) In-case of any issue during the migration activity, shall i get an support from Oracle Team (We have a Valid Support ID)?
7) What are all the necessary Test Cases to confirm the status of VALID Migration?
Request you to share the relevant metalink documents!!!
Kindly guide me in-order to go-ahead with the successful migration.
Thanks in Advance!!!
Nagu
[email protected]Hi Klaus,
Continued with the above posts - Now we are doing another database migration from IBM DB2 to Oracle, which is very less of data (Eg: 20 Tables & 22 Indexes).
As like previous database migration, we have done the pre-requirement steps.
DB Using SQL Developer
Created Migration Repository
Connected with the created User in SQL Developer
Captured the Source Database
Converted Captured Model to Oracle
Before Translation Phase we have clicked on the "Proceed Summary"
Captured Database Objects & Converted Database Objects has been created under PROJECT section.
Here while checking the status of captured & converted database objects, It's showing the below chart as sample:
OVERVIEW
PHASE TABLE DETAILS TABLE PCT
CAPTURE 20/20 100%
CONVERT 20/20 100%
COMPILE 0/20 0%
TARGET STATUS
DESC_OBJECT_NAME
SCHEMANAME
OBJECTNAME
STATUS
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:ARG_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H0INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H1INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H2INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H3INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H5INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPIREP1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPISWIFT1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPITRAN1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OBJ_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OPR_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:PRD_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:S1TABLE01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STMT_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STM_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:X0IAS39:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
We have seen only "Missing" in the chart, also we couldn't have any option to trace it in Log file.
Only after the status is VALID, we can proceed with the Translation & Migration PHASE.
Kindly help us how to approach this issue now.
Thanks
Nagu -
I have problem to connect oracle DB with SQL developer
I try connect to my oracle db with oracle SQL developer and received that message:
http://ioj.com/v/camkp
(pictures 1 and 2)
if i try connect with sql plus, all well.
command : select userenv('LANGUAGE') from dual; result: Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select userenv('LANGUAGE') from dual;
*USERENV('LANGUAGE')
RUSSIAN_RUSSIA.CL8MSWIN1251*
in SQL DEVELOPER: (picture 3)
check\uncheck "Skip NLS Settings", nothing changed.
what the issue is?Then apparently it's still not getting the OS settings right; try to add these to \sqldeveloper\bin\sqldeveloper.conf (maybe region is enough):
AddVMOption -Duser.language=en
AddVMOption -Duser.country=US
AddVMOption -Duser.region=USHope that helps,
K. -
Problem when connecting sql server 2005 using SQL developer
Hi,
I installed Sql developer and I am trying to connect sql server 2005 using windows authentication. I had previously the SSO folder problem saying the path is missing in java.library.path. I copied the SSO folder into Sqldeveloper directory. I changed the settings under computer management->services and applications->sql server configuration manager->sql server 2005 network configuration ->protocols for sqlexpress->I enabled TCP/IP.
Now I am getting an error saying "Failure-can not open user default database.Login Failed. Login failed for user ...".
I am able to connect thru ODBC driver using windows authentication.
Any help on this is highly appreciated.
Thanks in advance,
LakshmiHi Martin,
Your solution has solved my problem too. Thanks for posting these workaround fixes :-)
However, there seem to be a problem with datetime fields. The query:
select getdate()
returns something like: oracle.datetimestamp.@1aed4
Is there a way to get around with this? Otherwise, using SQL Developer as a client for SQL Server doesn't serve the right purpose when we cannot access simple date fields :-) -
Can connect using sqlplus, cannot using SQL Developer
Hi
I cannot find out why I cannot connect using SQL developer, while sqlplus works fine with the same login information.
*1. TNS ping:*
C:\>TNSPING manila
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-GRU-2
010 13:28:38
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.171)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (370 msec)
*2. sqlplus*
SQL> CONNECT SULU_DEV/<pass>@MANILA
Connected.
*3. sqlplus - by IP*
SQL> CONNECT SULU_DEV/<pass>@10.0.0.171:1521/XE
Connected.
*4. SQL Developer*
Username: SULU_DEV
Connection type: TNS
Network alias: MANILA
Error: I/O Exception: Connection reset
*5. SQL Developer - by IP*
Username: SULU_DEV
Connection type: Basic
Hostname: 10.0.0.171
Port: 1521
SID: xe
Error: I/O Exception: Connection reset
*6. SQL Developer - without username*
Username: <blank>
Connection type: TNS
Network alias: MANILA
Error: ORA-01017: invalid username/password
It seems that I have connection to the server, but from some reason it is disconnected when I'm using SQL Developer, but works fine with sqlplus.
Any ideas on what it might be?
Thank you in advance,
Regards,
MarekThe connection export function it's available in 2.1.1.64, you need to right click on the main Connections node, and it will allow you to export all or part of the current connections, or import from a previously exported file.
As for the highlight statement feature it's available in SQLDeveloper; actually you do not even have to highlight the required statement, as long as you take the habit of ending every statement with a ";", in this case you only need to place the caret inside the statement and SQLDeveloper will automatically highlight it for you (if you want to manually highlight a statement you can still do so without problems).
Finally as a last try to solve your connection problem without having to call for network support you could try to check
Preferences -> Database -> Advanced -> Use OCI/Thick DriverThis will force SQLDeveloper to use your oracle client for connections instead of it's native JDBC based connections (even if you use TNS based connections you will still use JDBC unless you have this checked).
As for other graphical tools for Oracle there are many both free or for a price.
1) In the for price world Toad stands out, i heard of a free option too but I'm not sure of the limitations.
2) For free you can use DBVisualizer which is fairly good (never used it too much thou).
3) Finally there is SQuirreL which is both free and open source but it has fairly basic functionality compared to the two above.
Obviously there are many others, but IMHO few will provide you with the same functions of SQLDeveloper or Toad for Oracle databases -
How to use sql developer to connect informix
hi, everyone,i want to use sql developer to connect to informix database.
i have added the informix jdbc driver,but when i create a new connection,i can't find the informix database.
does it not support informix?
please help.
Edited by: 917391 on 2012-2-27 下午7:10SQL developer supports (as listed in the release notes: http://www.oracle.com/technetwork/developer-tools/sql-developer/sqldev31-ea-relnotes-487612.html) only these foreign databases:
Third Party Databases
SQL Developer supports IBM DB2 UDB LUW , Microsoft SQL Server and Microsoft Access, MySQL, Sybase Adaptive Server and Teradata. -
Problem to connect database from Developer 6i
I have downloaded Developer 6i from oracle.com
before that, I have already downloaded 9i database default_home directory is c:\orant.
while i was installing develper 6i it was installed with forms_home, c:\orant\forms.
I was using the forms builder to design forms but while i was trying to connect to database it is saying that "Unable to Connect to Destination"
i was using scott/tiger.
this time i have tried scott/tiger@rkmurari...(rkmurari is SID and Database name).
Can anybody help me in solving this problem..
Thank you very much..I have a problem to connect database from developer 6i
-
Hi folks, having this issue, with only one of my so many databases, what might be the reason and how to fix/correct this, please assist.
Able to connect using sql developer, but not sqlplus or toad too; sqlplus error: ORA-12154: TNS:could not resolve the connect identifier specified
thanks in advance.SQLDEVELOPER works since it use JDBC Thin & does not use tnsnames.ora
ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
ORA-12154 [B]NEVER[/B] involves the listener, the database itself or anything on the DB Server.
ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
The lookup operation fails because the name provided can [B]NOT[/B] be resolved to any remote DB.
The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ -
How do I make a connection to SQL Server Express using SQL Developer 1.5.3?
How do I make a connection to SQL Server Express using SQL Developer 1.5.3, if it's possible at all?
Also, I received a SQL Server dump file of some sort. Is there any way to read this file in SQL Developer and migrate the db to Oracle? Unfortunately I don't have raw DDL and DML for this database--just some sort of a binary dump file from SQL Server.
Thanks.
DanaAre you using SQL Developer 1.5.3 or 1.5.4?
If using an older version (i.e. 1.5.3), then you'll have to add a DLL to your environment. This is [ntlauth.dll].
If you don't find this DLL in your SQL Developer directory, then obtain the JDBC SQL SERVER Pluggin (jtds-1.2.2-dist.zip) from:
http://sourceforge.net/project/showfiles.php?group_id=33291&package_id=25350
Copy the ntlmauth.dll in the ...\\...\ide\lib directory (no need to register it).
Note: this approach should work if using DQL Developer 1.5.3 and SQL Server Express 2008
Regards,
M. R. -
How to start or shut down database using sql developer in windows
Dear Sir/Madam,
how we start or shut down database using sql developer in windows
we are using oracle 11g release2, unix, java & oracle oracle weblogic administration
Thanks & Regards
Manish Kumar
Datbase Team
TCS Ltd.HI, Welcome to OTN form,
SHUTDOWN is not a SQL statement but a SQL*Plus command . You cannot use SHUTDOWN in PL/SQL.
Check following link:
http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve042.htm#i2699551
More Information please check OTN discussion: https://forums.oracle.com/thread/2349159
Thank you -
"peer not authenticated" - Connecting to ORDS with SQL Developer
Background
Configuring ORDS (2.0.7) to my database, with APEX_LISTENER and APEX_REST_PUBLIC_USER created via APEX 4.2.2 script.
Listener is running as expected - and APEX works as expected.
ORDS credential setup (as made evident by the credentials file with the user name inside)
Addition of the line to the ords/default.xml: <entry key="security.verifySSL">false</entry>
To allow connection without using SSL.
Current Status
I am able to connect using SQL Developer "Restful Data Services" feature using the "HTTP" connection and the credentials that have been setup successfully.
Problem
Attempting to configure a SQL Developer (4.0.2.15) connection using the same account, but HTTPS with 443 - the connection results in the error message:
Authentication Failure
Cannot connect to S42
peer not authenticated
Additional
I am using an installation of Tomcat and a version of Glassfish to test this feature. I have received the same error on both test cases.
I have also tested by removing the <entry key="security.verifySSL">false</entry>
Is there a specific type of HTTPS certificate that is required to connect using HTTPS?
Did I miss a different setting?
Regards,
Tim St.Got this working, needed a change to the config file on weblogic server by our DBA.
-
All connections are lost in SQL Developer 1.5
Windows XP - SP2
Install Oracle Developer 1.5 today on my XP box. I don't have any old version of Oracle Developer installed before.
I created some connections and able to do some query against some database. Then, I close Oracle SQL Developer. When I relaunch it again, I found all the connections I have created are lost. When I try to recreate any connection, it failed and I see lots of java error by view "Logging Page - Log" tab. Not sure, how to copy and paste those log information.
Since I can't create any connections, I can't use SQL Developer 1.5 anymore. I have to reinstall it again.
Can anyone help?
Thanks!
KevinI have posted an announcement with the workaround for this problem, but I'll go ahead and duplicate them here :)
We have identified an issue with loading connections in SQL Developer 1.5. The symptoms of the problem are a failure to load previously defined connections in the Connections navigator coupled with errors displayed in the Logging Page related to severe problems initializing the JNDI context.
There are two known workarounds to this issue. The first is to install and use JDK 6.0 update 6 (or later). This may require removing the jdk directory from the SQL Developer install and/or editing the sqldeveloper.conf file to remove any references to a Java Home.
The second workaround is to modify the sqldeveloper.conf file to add some libraries to the classpath. These libraries are currently being added to the classpath by one or more extensions; however, adding them to the sqldeveloper.conf file will ensure they get added in the correct order. Add the following lines:
AddJavaLibFile ../../lib/java/api/jaxb-api.jar
AddJavaLibFile ../../lib/java/api/jsr173_api.jar
AddJavaLibFile ../../j2ee/home/lib/activation.jar
AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb-xjc.jar
AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb-impl.jar
AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb1-impl.jar
- John
SQL Developer Team -
Error: connecting to db with SQL Developer
Hi,
I have just done a test disaster recovery (complete restore and recovery) of my database. I have successfully restored and recovered my database and managed to open the database , though with a few warnings shown below
RMAN> alter database open resetlogs;
database opened
RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT row
s
ORACLE error from target database:
ORA-06553: PLS-801: internal error [56319]
When I try to use sql developer to access the database. I end up getting the following error:
ORA-06544: PL/SQL:internal error, arguments: [56319], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [56319]
06544. 00000 - "PL/SQL: internal error, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]"
*Cause: A pl/SQL internal error occurred.
*Action: Report as a bug; the first argument is the internal error number.
vendor code 6544
This has been the first time I performed full recovery.
I am using sqldeveloper 1.1 and running oracle 10g R2
I was wondering if anybody has come across this problem before
Any help would be appreciatedSorry, I meant that "restore database" and "recover database" commands both completed successfully without errors<br><br>
I had a try connecting with sql *plus, which I get <br><br>
ORA-06553:PLS-801 internal error.<br><br>
<i>HOWEVER</i>, I still get connected, and can run queries against the tables<br><br>
You'd get better response from the Recovery Manager forum...<br>Sorry you are right, -
Error in Migration Repository using Sql*Developer Migration Workbench
To migrate a MS access mdb database to Oracle using Sql*Developer Migration Workbench, I try to create first the the Migration Repository in SQL*Developer.
The repository is created, but under PACKAGES I could see that package MD_META has been compiled with errors.
PACKAGE BODY AO_PERSONAL.MD_META@DMCAPX (AO_PERSONAL):
Error(27,2): PL/SQL: SQL Statement ignored
Error(30,23): PL/SQL: ORA-00904: : ungültiger Bezeichner
Well, when I ignore this and continue with the next step of the migration process "Capture Microsoft Access Exported XML file" to create the Captured Model, I get the following error message:
ORA-04063: package body "AO_PERSONAL.MD_META" enthält Fehler ORA-06508: PL/SQL: aufgerufene Programmeinheit : "AO_PERSONAL.MD_META" konnte nicht gefunden werden ORA-06512: in "AO_PERSONAL.MD_PROJECTS_TRG", Zeile 3 ORA-04088: Fehler bei der Ausführung von Trigger 'AO_PERSONAL.MD_PROJECTS_TRG'
Target database RDBMS is Oracle Database 10g Enterprise Edition Release 10.2.0.3.0. So the proposal of note 427916.1 to create the Repository in a 10.2 RDBMS does not solve the problem.
I even tried to use the Quick Migrate feature in SQL*Developer, but got the same error message."inserted value too large for column"
Is there a LOGON trigger on the database or user ?
I'd be surprised at SQL Developer trying to insert data into anything on connect.
I'd suspect code being executed by the database, maybe using a MODULE or PROGRAM from v$session or USERENV / SYS_CONTEXT. -
Reconnect opening an Oracle Table using SQL Developer 3.0 in Windows 7.
Downloaded SQL Developer 3.1.07 and placed a copy on both Windows XP Pro. and Windows 7 Pro. No issues using SQL Developer under Windows XP, Oracle 10g client driver. However, under Windows 7 (32-bit or 64-bit PCs), Oracle 10g or 11g client driver, when I click a table name to display the 'Columns, Data, Constraints, ...' fields - I receive a Reconnect message: Your database connection has been reset. Any pending transactions or session state has been lost." I am able to view the Data, Contraints, Grants, ... fields, except for Columns field (no data). Also executing SQL statements to query any of the tables returns expected data. Right-click on database connection shows 'Connect' and 'Reconnect' greyed out, so appears connection exists. So why is the Reconnect message happening? And why can I not see my field definition under Table Columns?
Thanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
thanks, hopefully this problem will be few and far between
Maybe you are looking for
-
At the bottom of my GUI i'd like to put a JTextField that I could update when the mouse passes over my toolbar icons and over menu Items. I presume that there must be some kind of mouse listener that I can add to my toolbar buttons and my JMenuItems,
-
I have LR4 on my computer and just installed LR5. Should I uninstall LR4?
I have LR4 on my MAC and have just installed LR5. Should I uninstall LR4?
-
Hi, We are saving our data on a node under year/month site structure, eg. (2013/05/node1) but when we search for the data using a query in a custom workflow., it does not fetch any results.The query being fired is something like : SELECT * FRO
-
Hi, I want to build webdynpro , in first view getting list of records(header) and in second view (items). whatever record selected in first view should display corresponding items in second view. Like interactive report. Tha
-
ITunes Radio jumping through songs and not playing
What the heck is going on with iTunes raddio!!! It flashes through songs rapidally and then won't play! My regular purchased playlists work fine. It's only iTunes radio.