I am not a Oracle DB expert.
I need to connect to a REMOTE Oracle 19c database server from VDI through Oracle Client or SQL*PLUS.
I only have the Database Name "Orcl" and the TNS Connect string "dev1".
Please advise what are all the pre-requisites that I need to have in my VDI, so I can connect to the remote DB.
What are the environmental variable I need to set in my VDI ?
Do I need to have Oracle client installed in my machine ? which version of Oracle client ?
If I have Oracle 12c client in my machine, will I be able to connect to Oracle 19C DB.
I don't think the vdi plays into it at all. You will be making a connection across a network interface (even if the client and database are on the same machine). Yes you will need an oracle client. I think a 12c client is the oldest client that is still certified for connection to 19c database. To be sure Refer to Oracle Support Document 207303.1. For the client, using a network connection, I believe the only environment variable required is ORACLE_HOME.
Related
Deat experts, We migrated from Oracle 12c to Oracle 19c in the windows server 2016 last week.
The DBA did not remove the previous version of oracle client - 12c and in addition installed the latest version of Oracle 19c.
Also I can see the environment variable has below 2 entry in addition to both the client installation
C:\Oracle\product\19.0.0\client_32\bin;
C:\Oracle\product\12.1.0\client_1\bin;
When we connect to the database using external connection, we get the below error. The DB was working fine prior to the oracle 19c installation.
The program has ended abnormally due to an unhandled exception.
Exception Code (OCI[DBConnectOCI.cpp[192]]
ORA-12557:TNS:protocol adapter not loadable)
Clarification:
I am not a DBA person but technically oracle has what it needs, why does it not getting connected to the DB using oracle client 19c?
Is it 100% true that we need to remove the previous version of the DB Client and always have only one client version?
Is the environment variable creating the issue ? or both env variable and oracle client ?
Oracle provided descriptive documentation to deploy Oracle database/Manager/Clients. So, we have followed the link which summarise the things: https://www.howtoforge.com/tutorial/how-to-install-oracle-database-12c-on-centos-7/
There are a few pain points we are facing:
Remote connection to oracle not happening
Remote oracle manager link access on port 5500
Details on Remote JDBC connections to Oracle 12c is not in one place and how to build the connection from JBDC
I need to discover the running db2 servers in a network.
I tried to connect to all servers in the network using the JDBC connection. But the problem is while using JDBC, we need to specify the database name in the URL. As of now, I tried to connect to the SAMPLE database. But if a db2 instance does not have the SAMPLE database, the connection will fail.
So I want to know the other possibilities to discover db2 servers in a network and also Is there any way to connect to the instance of the db2 server unlike connecting to a particular database(Similar to SQL - Connecting to an instance using port only)
Db2 administration server (DAS) has the corresponding functionality. Refer to the following link:
Discovery of administration servers, instances, and databases.
Note, that DAS is deprecated and may be removed in future Db2 releases.
My objective is to use the migration tool in SQL Developer to migrate 2 SQL Server databases to Oracle. I am attempting to connect to a SQL Server database at a remote location using Oracle SQL Developer 4.0.
I have installed jtds.1.3.0.jar per instructions, and get the SQL Server and Sybase tabs in the connection properties window.
I have entered the user, pw, hostname, port, and database name. When I try to Retrieve Database, or connect, I get the error message:
Status : Failure -Test failed: I/O Error: DB server closed connection.
The SQL Server DBA tells me her error logs contain the following error message:
Encryption is required to connect to this server but the client library does not support encryption; the connection has been closed. Please upgrade your client library. [CLIENT: (my computer's IP address)] Error: 17835, Severity: 20, State: 1.
When I look at SQL Server documentation about this error message, it talks about certificates and SQL Server Connection Manager. Some relevant information to show that I've covered the basics:
Using the same connection parameters, I am able to connect to the SQL Server database using Toad for SQL Server.
Using the same connection parameters, a DBA set up an Oracle Transparent Gateway, and I can connect to the SQL Server database using the gateway and a database link. (As far as I know, neither of these methods required a certificate to connect.)
Both of these use ODBC; SQL Developer uses jdbc with TCP/IP.
The DBA assures me TCP/IP connection is turned on for the SQL Server databases.
I have gone into the XML file where SQL Developer stores the connection string. It has the form jdbc:jtds:sqlserver://sql-xxx-xxx.mw.nos.xxx.com:1433/my_db, which looks correct. I have tweaked it by adding the instance name, but no difference. The database has a default instance name, anyway, so it shouldn't be necessary.
A co-worker has been able to connect to a local SQL Server database on the same machine where SQL Developer was running (both on his laptop).
As a workaround, I am also pursuing the possibility of installing SQL Server on a local workstation, and copying the databases there for processing, but I don't know if I can get approval. If you know another tool for migrating from SQL Server to Oracle, please also let me know.
Thanks in advance.
I am using SQL Server DB. The connection string is
Data Source=office1\SQLEXPRESS;AttachDbFilename=|DataDirectory|\dbSQLTest.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True
On local computer it is fine. On the network computer, it gives
"Invalid Key for attachdbfilename"
I do not want to make server client application. My purpose to use Sql server DB is to run my application on 3-4 computer simultaneously. I just make shortcut from my main computer to the network computers.
The reason why I donot attach with server instance is that it is difficult for the users to attach DBs with server and then manage SSMS.
Please advise
Thanks
Furqan
AttachDbFilename is used with local database. If you have remote database then the connection string will be different. Have a look at article - How to configure SQL Server 2005 to allow remote connections.
I'm not sure I am understanding you correctly, but you can't simultaneously attach the same MDF on a network drive by several concurrent users (like you can do with MS Access).
Rather just install SQL Express on a central computer and open it up for remote TCIP/IP access, and change the connection string to an IP / instance one.