ODBC connections setup to import source ininformaitca - informatica

I am trying to import oracle table into sources (designer informatica) and when i try to import its giving me error [Microsoft][ODBC driver for oracle][oracle] ORA-121154:TNS: couldn't resolve the connect identifier specified
Am unable to figure out hoe to install odbc drivers if they are missing.
Please help
k

Do you have oracle client installed in your machine? If so oracle wire protocol will be available. Try connect using that
Make sure you have tns entry available under $ORACLE_HOME/client_1/network/admin

Related

cx_Oracle fail to connect to one database using different machine

I am trying to connect to ORACLE database using cx_Oracle with python.
Code shown below. Same code able to connect to target database while running on a pc, however not able to connect using a server.
Error message: ORA-12545: Connect failed because target host or object does not exist
Since it can be connected use other pc, I think should not be the password or service name wrong.
The server having issue connecting to the database is a linux, with cx_Oracle installed, and ORACLE_HOME, LD_LIBRARY_PATH defined.
Any one can give a hint on what might goes wrong?
code used
dsn_tns = cx_Oracle.makedsn('Host Name', 'Port Number', service_name='ServiceName')
conn = cx_Oracle.connect(user=r'UserName', password='Password', dsn=dsn_tns)
c = conn.cursor()
Found out it was due to network access issue.

Pentaho DI can't connect to AWS Redshift - Amazon Error 100021

Referring to Pentaho's Doc, we should be using RedshiftJDBC4.jar instead of version 4.1. I have downloaded the driver and placed it in the lib/ directory. Relaunched spoon.sh and I noticed it is no longer complaining about not able to find the com.amazon.redshift.jdbc4 class driver as I was using the 4.1 driver earlier. However, it still could not establish the connection.
Error connecting to database [aws_redshift] :
org.pentaho.di.core.exception.KettleDatabaseException: Error occurred
while trying to connect to the database
Error connecting to database: (using class
com.amazon.redshift.jdbc4.Driver) Amazon Error setting
default driver property values.
Can anyone help on this?
On the flip side, I can connect to my endpoint using SQLWorkbench/J, a SQL client tool.
Somehow I managed to get it working. It seems that downloading AWS Redshift drivers version 4, 4.1, or 4.2 and placing them in the lib/ directory did not work for me for each version by choosing Redshift as connection type (in Database Connection setup).
Instead, I chose PostgreSQL using JDBC. In host name field, I included the endpoint WITHOUT port number 5439 at the end. So, the endpoint should just end with ...amazonaws.com. Fill in database name, port number of 5439, and username and password. If this did not work, try downloading the latest PostgreSQL JDBC driver and placing it in lib/ directory and try again.

ColdFusion Sybase data source configuration error

I am trying to configure a Sybase datas source in ColdFusion Administrator. I am getting the following error message when verifying the connection:
Connection verification failed for data source: IntellicredClient
java.sql.SQLNonTransientConnectionException: [Macromedia][Sybase JDBC Driver]No more data available to read.
The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][Sybase JDBC Driver]No more data available to read.
The only probably issue I can think of is the driver I choose. When I'm connecting to the database manually, I use Adaptive Server Anywhere 9.0 or SQL Anywhere 11. Since there's no such a choice in the Administrator, I choose Sybase. Could this be the problem?
I have ColdFusion 11.
Could be a bug in the JDBC driver. Try replacing current JDBC drivers with the older and stable version. View the link below for instructions.
https://bugbase.adobe.com/index.cfm?event=bug&id=4165262

Connect Qt to a Database

I've been trying really hard for the past few hours to connect my Qt software to a MySQL database that I've hosted using a website that hosts small MySQL databases for free. I can connect to it using phpMyAdmin, but I'm really having trouble getting my software to connect to it.
This is the error message:
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified QODBC3: Unable to connect".
Can somebody explain to me what this means, and how to fix it?
You need to headers, libraries & client dll from MySQL
Compile Qt/MySQL driver
Provide path to mysql client library in PATH environment

ColdFusion DSN with DB2 via ODBC

I'm attempting to connect a ColdFusion application to a DB2 ODBC DSN.
Here's my error message:
Connection verification failed for data source: <DSN NAME>
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][IBM][CLI Driver] SQL30082N Attempt to establish connection failed with security reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001
The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][IBM][CLI Driver] SQL30082N Attempt to establish connection failed with security reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001
I've installed DB2 client tools on the server ColdFusion runs on. I've verified the credentials are correct.
I'm not a DB2 guy, but have you seen the Coldfusion DB2 Universal Driver doc located here?
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=datasources_ADV_MJS_07.html
Based on your comments, you're using ODBC Socket instead. So while this isn't 1 to 1 what you're asking, it might have something useful: Configure Solaris to DB2 ODBC
http://kb2.adobe.com/cps/171/tn_17188.html
The other thing to keep in mind is that DB2 is only supported in CF Enterprise and Developer Editions. http://www.adobe.com/products/coldfusion/systemreqs/
http://kb2.adobe.com/cps/801/80121c8.html
This CFMX doc ended up being what we went with to get it working.
Thanks to SO for pointing us in the right direction.