creating a database connection problem

Hello
I tried to create a database link, but it does not work. When I connect to the database using SQL * Plus or SQL Developer, the entries in the work of tnsnames.ora.

create a link of database DBOPBWS2. BAG to connect to demo identified by demo
using the ' DBOPBWS2. BAG ";

Entry in tnsnames.ora:

DBOPBWS2. BAG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = serv01.server.spub - systeme.de)(PORT = 1485))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = DBOPBWS2)
)
)

Entry in sqlnet.ora:

NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)


Select * from [email protected];

Error:
ORA-12154: TNS: login Angegebener konnte nicht aufgelöst werden
12154 00000 - "TNS: could not resolve the connect identifier specified.

What is the problem with the datbase link?

Please help me
Siegwin

Hello

You could also 'jump' use TNSNAMES:

Scott@my11g SQL>create database link DBOPBWS2.BAG connect to demo identified by demo
using '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =serv01.server.spub-systeme.de)(PORT = 1485)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = DBOPBWS2)))'
/

Database link created.

Tags: Database

Similar Questions

  • Need help with creating a database connection

    Installed SQL Developer with JDK 1.6. When you try to create a database connection, I have encountered this problem.

    I/O Exception: The network adapter could not establish a connection

    Do I need to download the Oracle database?

    You can also look in installation of Oracle XE.

    It carries a much lighter than the standard (or Enterprise) edition footprint and is free (with some restrictions, that you can read).

    http://www.Oracle.com/technology/software/products/database/XE/htdocs/102xewinsoft.html

  • JDeveloper Create New Database connection

    I would like to create a database connection by using the individual database account(username/password). But all the tables/views/procedures fall under another scheme general/admin. Even though I created the connection, I couldn't see all the tables (individual schema have no table inside). Which means that I couldn't create objects of entity objects/view them. Is there a way/setting that will allow me to query other tables in the schema. As with the forms of the oracle, you can get your own and/or other tables, views.

    Or what is the correct way to do this?

    Thank you!!!

    Have you checked that the other user has the privileges of law defined to access the tables for the admin user? She is sysnonyms defined?
    Also, click the filter in the wizard of OS and see what is defined:
    http://docs.Oracle.com/CD/E23943_01/Web.1111/b31974/bcentities.htm#CIHDJDAC

  • [Attention!] Creating cloud causing connection problems serious.

    It is a very serious problem, and I hope that if anyone else is experiencing this, they find this thread.

    So the problem?

    Suddenly, my internet connection started having serious problems, and I thought that my network card sang her last song.
    Stopped loading websites, applications stopped connecting to the cloud etc, although some applications using direct IP to connect worked, so my first thought was a DNS issue.

    I begin troubleshooting my PC for hours without success, which included tracking IP addresses and DNS servers, change of drivers for my network card, try to other routers and whatnot. The list goes on and.

    I even re-installed the whole PC after hours of no results.

    So with a clean PC, things started working again. I then started to reinstall all my software from scratch, and all of a sudden, the problem returns. Again, I begin troubleshooting. After starting the PC in safe mode with network capabilities, I realized that it wasn't my network card.
    After hours of restarting and deactivation/activation process in the background, the cultprit was obvious.

    Creative cloud caused network issues for each unique application, I used. But it only happened when the CC began the initial load of windows. I can start it then no problem.

    So basically:

    New installation of PC

    Install CC
    Is connection problems.

    Solution: Disable the autostart for "Adobe Creative Cloud"

    Autostart can be disabled in the application itself, or through research 'msconfig' on windows, auto-start tab.

    Someone has to take a look at this. I was very close to the purchase of new equipment for my computer, or replace all MOBO, CPU, RAM etc. It took my almost two days to understand this. It wasn't an obvious problem.

    I found something to add for PC users using Windows 10 (not sure how to apply it to Mac):

    • Run msconfig - takes you to the configuration of the system (as previously indicated by Florrpan)
    • Check "Selective startup" is selected on the general tab.
    • Check load system services and load startup items.
    • Go to the Services tab.
    • Disable all Adobe services and click on apply.
    • Go to start and open the Task Manager.
    • Ensure Adobe Creative Cloud is disabled - this can be done by using the right mouse button or the button disable at the bottom of the window.
    • Make sure that Adobe Updater utility to start is disabled.
    • Make sure Acrotray is off.
    • Restart your PC.

    Happy creating! If someone is all this and is facing questions please let me know

  • How to question dignosis between P6 web and database connection problem.

    Hi all

    Initially we have access to P6 via a URl server http://ip: 7001 / p6

    We have migrated our server to the new support. now above the URL does not work.

    but instead of the IP if I get p6 URL, server name opens http://servername:7001 / p6

    But I am not able to connect. (I'm not able to extend the button Advanced also to see the name of the database).

    I think that P6 does not connect to the database. (Our database is available on another machine and I can ping this machine server request P6).

    Please let me know, how can I diagnose this problem of connectivity.


    On the server where P6 is installed, run the dbconfigpv.sh/cmd again and reconfigure the database connection. Also, run adminpv.sh/cmd. Login with privuser and check the connection to the base there. Test to verify that it is able to connect to the database. If you change any setting then restart weblogic server for the change to take into account.

  • Database connection problem

    Dear Dreamwevaer associated,

    When I connect to the database in Dreamweaver, I use the root user and type in the password, but when I try to choose the database.

    I try to connect to the host local user 'root '.

    It shows:

    HTTP 404 File not found, error code

    I installed Dreamweaver CS6, XAMPP and mySQL connector/ODBC. I can create the table and update without problem in MySQL (in DOS) and myPHP. I would like to ask for your help on how to fix the above error. I reinstalled the XAMPP and mySQL connector/ODBC, but the result is the same, I can only create table in myPHP and select record in mySQL. Please indicate how to solve the problem

    Your help is very appreciated.

    Chris

    Ok. So I suppose that looking at one screen captures is that you have mapped the local and the testing server folder in the same folder.

    You must set the server folder were you installed XAMPP which must be different from the local folder. See the links below for more details of ore.

    http://helpx.Adobe.com/Dreamweaver/using/set-testing-server.html

    http://www.Adobe.com/devnet/Dreamweaver/articles/setup_testing_server.html

    I found the MMHTTPDB files and mysql under the page D:\mypage\phptest\_mmServerScripts site. How can I connect to the database?

    When you set the local server correctly, you can copy the folder "_mmServerScripts" it on the record of the test server.

  • Primavera P6 teacher - Standalone Installer - Oracle database - connection problem

    Hello

    I just installed the professional P6 standalone version, thinking that it will be simple :) but have the following questions

    I use the 32-bit version of Windows 7

    It seems that the Oracle10g XE Db is fine but when I try to start professional P6 I'm having problems connecting to the Db

    Can some pls advise what I should use the following headings to display, I have listed each dialog screen as they apprear

    1 p6 logon dialog box

    can I use my logon Id or session ID "admin"?
    I guess that I use the same password that I used to create the Oracle Db as part of the installation?

    2. application to configure connection dialog box
    I chose Yes

    2 dialog box of Configuration database "select or create aliases.
    I chose the PMDB as an alias and Oracle as the driver type

    3 configure the Oracle login dialog box
    Please indicate what should be used here for the Oracle connection string?

    4. enter in the Connect dialog box public inforamtion
    Please let know us what I need for the following entries here
    Username
    Password
    Public group ID

    Thanks to anyone who can help






    4.

    I am sure that the R8 does not support a true stand-alone installation. You can however download and install version 7 in standalone mode.

  • After installing 1.5.1 database connection problem

    I can't connect to a database. After you set all the values and hit the 'test' button test the connection, I get the following error message:

    Status: Failed - Test has failed: lack of class: oracle.dms.instrument.ExecutionContextForJDBCDependent class: oracle.jdbc.driver.PhysicalConnection charger: main: 11.0 Source Code: / C:/oracle/product...

    Sorry I made a mistake, and it's file ojdbc5.jar...

    In any case, your problem occurs because you installed the Oracle 10.2 client.
    SQL DEV is equipped with a 11g JDBC driver.
    But your JDBC.library root to jdbc (c:/oracle/product/10.2.0/client_1/jdbc/lib/ojdbc14dms.jar) 10 GB

    Try to create a SQLDEVELOPER. CMD in C:\sqldev\sqldeveloper file
    SET CD = % ORACLE_HOME
    Start sqldeveloper.exe
    Launch SQLDEVELOPER. CMD

    If this fix:

    Go to metalink and download the instant client:
    instantclient-basic-win32 - 11.1.0.6.0
    First, put the installation directory in the PATH of the OS.
    (In the case that does not solve the problem
    You must restart the computer after you change the path)

    Kind regards

    Mireille

  • the developer of company 10 g database connection problem

    Hi all
    I installed oracle 10g Enterprise edition lately on my computer and the SQL and more it connects correctly
    But when I installed Oracle Developer 6i and copy/pasted the descriptor of the service of database in tnsnames.ora to the tnsnames.ora in house developer, I was unable to connect to the database of SQL 8 or Builder form that they close and a windows message appearse (the application encounters a problem and will be closed sorry for enconvenience)
    Recently, I installed WinXP
    someone has an idea?
    Thank you

    user8335271 wrote:
    (the application encounters a problem and will be closed sorry for enconvenience)

    Like many, I know, it has nothing to do with the developer Oracle or forms. His problem of pure operating system (XP). I have sued to get this a lot on XP machines, sometimes it disappears on its own, and sometimes I had to reinstall Forms Developer.

  • Oracle database connectivity problem

    hiiee

    I am trying to connect oracle 8i database but it gives error ora-12546 permission denied
    but before there was not any problem like dat... i HAV same checked the tna.ora file

    and when I'm trying to connect to the database with tha same username, it's successfully connect...

    so please help me with the answer...

    You can locate the folder of ORACLE_HOME\network\admin $ and able to open the tnsnames.ora file...

  • Derby in Netbeans IDE database connectivity problem

    I use the latest version of Netbeans IDE
    I've already put the variable JAVA_HOME and DERBY_HOME, as well as path variables.
    I am trying to connect to the database in network Mode
    by using the following code

    ......
    Try
    {
    Class.forName ("org.apache.derby.jdbc.ClientDriver");
    }
    catch (ClassNotFoundException System.Exception)
    {
    exception.printStackTrace ();
    }
    .....

    but it gives the error of execution that "failed to load the driver.
    Please help me get through this

    Try adding the following to your class:

    Import org.apache.derby.jdbc.ClientDriver;

    If he produces an error, your pilot *.jar file is not in the classpath.

  • Database connection problems

    We are just past our our VC Server non-production database and our VC of a sql2000 server production server to sql2005 server production environment absolutely went well and everything is connected (phew).

    Our non-production environment no longer allows me to start the VirtualCenter Server Service on the old database or the new database server, interestingly enough the UpdateManager service starts correctly on the server of npe and makes connections to the database.

    I'm following in newspapers of evacuation, ideas? Thank you.

    Journal of VMware VirtualCenter, pid = 5664, version = version 2.5.0 build = build-84767, option = release, section = 2

    Current working directory: C:\WINDOWS\system32

    HOSTINFO: See Intel CPU, numCoresPerCPU 1, numThreadsPerCore 2.

    HOSTINFO: This machine has 2 physical CPUs, 2 total hearts and 4 logical processors.

    Log path: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs

    Initializing the SSL

    Using the libcrypto, version 90709F

    Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 120000000

    From VMware VirtualCenter 2.5.0 build-84767

    The logs directory: C:\Documents and Settings\Default User Settings\Application Data\VMware\vpx.

    Account name: SYSTEM

    Pile bottom-kill active process.

    Bunch of crt Enabled lower-frag.

    34 LROs max

    6 reserved internal LROs

    reserved blocker 6 EIB

    6 reserved short LROs

    4 reserved long LROs

    operational life of 600 seconds

    Could not read the registry entry vmdbPort

    Could not read the registry entry managedIP

    Ignoring unknown DB entry: AgentUpgrade.maxConcurrentUpgrades

    Ignoring unknown DB entry: Perf.Stats.FilterLevel

    Citing reminders for vpxd.npivWwnGeneration.singleNodeWwn keys

    Citing reminders for vpxd.npivWwnGeneration.portWwnNumber keys

    Locale subsystem initialized to C:\Program Files\VMware\Infrastructure\VirtualCenter Server\locale / with in default locale.

    Initializing the SSL context

    Assigning FALSE to VerifySSLCertificates

    Initialization failed: not well formed (invalid token)

    Could not initialize the VMware VirtualCenter. Closing...

    Force the closure of VMware VirtualCenter now

    found this as well...

    http://KB.VMware.com/kb/1003415

  • OK, now that there is no option for Panel reveal "database" in CC DW, how to create a database connection and build my phpmysql pages?

    Is there another way other than to manually enter the PHP code?

    Web development tutorial | Not recommended to CC Dreamweaver server behaviors. WebAssist

    A way to better, more secure and future proof MySQLi server behaviors. Dreamweaver extension | WebAssist

  • Create the jdbc datasource and get database connection

    Hi all

    How can I create a jdbc data source in Jdeveloper Version 11.1.1.0.1? In the previous version of Jdeveloper when I create new database connection using the database browser he created xxxx-data - sources.xml in the application directory. I used following code to get the database connection.

    Fitting out = null;
    Context ic = new world;
    DataSource ds = (DataSource) ic.lookup (dataSource);
    connection = ds.getConnection ();

    But this method does not work in this version of jdeveloper. It creates no data-xxxx - sources.xm in the application directory. Please give me a suggestion to create the jdbc data source and to get a database connection in this version.
    The previous version of JDeveloper using OC4J, but this version using Weblogic.

    Thank you
    Sujnan

    Published by: sujnan on March 25, 2009 23:09

    Also add the data source in the web.xml file.

    JDBC/OracleDS
    javax.sql.DataSource
    Container

    InitialContext initialContext = new InitialContext();
    DataSource ds = (DataSource)
    initialContext.lookup("java:comp/env/jdbc/OracleDS");
    java.sql.Connection connection = ds.getConnection();
    

    Published by: Billett on March 25, 2009 12:08

  • Oracle JDBC Express connection problems

    Hello

    I installed the OE10g, however I can not connect via JDBC, the administration tool works to:

    http://127.0.0.1:9080 / apex

    Note that I changed the http port and works properly, however, trying to reach this DB thanks to the 'Create a database connection' Wizard of JDeveloper, I put:

    Username: SYSTEM
    Password: root
    Role: (empty)

    Pilot: thin
    Host name: localhost
    JDBC port: 1521
    SID: ORCL (name of service not selected)


    The above doesn't work, please help.

    RGE

    Well, EX is not the same thing as XE ;)

Maybe you are looking for

  • macOS Sierra downloaded but no prompt to install it.

    Was able to download macOS Sierra, but do not have a prompt to install it.  Mac App Store says it is downloaded, but nothing more.  Ideas?

  • Hi, my screen flashes during playback of movies from Netflix

    Hi, my screen flashes during playback of movies from Netflix. It happens with other applications or when I play DVD. It begins in about 5 seconds in movies and it happens about every 4-5 seconds. The screen turns white for about a second, then it sho

  • Graph and Sounddrivers for Satellite M50 180 and Windows 7

    I installed Windows 7 on my M50-180, but I can't find a driver for the sound and graphics.Something does not exist, or are there drivers to media, which works on Windows 7 Best regards from the Germany papa99

  • Satellite U - crashes during windows startup and restore cannot fix

    Most of the time, but not whenever the laptop hangs when starting windows.I get a blue screen, a dump file is created and then it restarts and gives me the ability to start windows normally or by using windows recovery. The windows recovery can not s

  • How to create the quicklaunch bar

    Original title: Quick Launch toolbar I try to activate the toolbar quick launch click with the right button on the taskbar, selecting Properties and checking her see the Quick Launch bar. However, after the application and click on OK, I'm going amd