WAS 8.5.5.2 not able to connect to DB2 Datasource - db2

I am trying to test the datasource connection created on cluster in WebSphere 8.5.5.2 ND with DB2. As soon as I click on test connection button, WAS flashes me following message:
The test connection operation failed for data source Temp on server
nodeagent at node MyNode001 with the following exception:
java.sql.SQLInvalidAuthorizationSpecException:
[jcc][t4][2013][11249][4.16.53] Connection authorization failure
occurred. Reason: User ID or Password invalid. ERRORCODE=-4214,
SQLSTATE=28000 DSRA0010E: SQL State = 28000, Error Code = -4,214.
I checked everything, my username and password is correct and not expired. Driver files are also verified. I also tried restarting everything from deployment manager to node agents but still it displays me the same error

Related

Using Wrangler with MySQL: A server error occurred when testing the connection. Error: Exception occurred while handling request: string

I am trying to connect a MySQL database via Google Cloud Data Fusion Wrangler. It's a very standard connection and I can connect and do every action with another tool (DBeaver). However, trying to connect with Wrangler, I am getting this message:
A server error occurred when testing the connection. Error: Exception occurred while handling request: string
Any suggestions? Thanks!
Please follow the instructions on https://cloud.google.com/data-fusion/docs/how-to/using-jdbc-drivers
Once done, you will be able to select the uploaded driver from the dropdown
For your requirement, you have to use JDBC Driver for connecting to MySQL database.You can use Public IP to setup connection to Wrangler.
Following are the steps to connect to MySQL database using Wrangler
Go to Hub in the Cloud Fusion instance and and select the required JDBC Driver.
Download the
driver and deploy it.
Go to Wranglers page and click on Add
Connection if you are connecting to MySQL for the first time.
Select
the MySQL database from the list of databases provided in Wrangler.
Add name and JDBC driver along with username, password and other connection arguments.
Click on test connection to check the connectivity.
For more details you can check this link.

Db2 on Cloud connection refused w/ reason "19" ("USERID DISABLED or RESTRICTED")

While working with my database today, which is a DB2 on Cloud instance (free/lite plan), it began to reject my attempts to connect (from both python and node.js) with the following error:
SQL30082N Security processing failed with reason "19" ("USERID DISABLED or RESTRICTED"). SQLSTATE=08001\r SQLCODE=-30082
The userid in question is the auot-generated user/schema created when I created the Db2 on Cloud service via the console. I and still access the Db2 instance UI from the console. I had able to connect to the database multiple times only a few minutes prior. I have been using the secure (SSL) connection string details. Any ideas on how to reset the userid?

IBM Lift CLI cannot connect to source database

I am having an issue connecting to the source database when attempting to extract a table.
Here is the error message:
LIFT-4000: Failed acquiring connection for the database SKILLST after
multiple retries. Ensure that host, port and credentials are correct.
Netezza: Cannot create PoolableConnectionFactory (Connection reset)
Also, when trying to migrate DDL from a source to a target database db2, I receive this message:
Generating DDL statement(s) for specified database objects...
LIFT-4030: No object found in schema TADB2 matching with specified
condition.
We have verified the host port, username, password, and all conditions are correct. Even still, we are receiving the LIFT-4030 error above.
Our version of db2 is:
"DB2 v11.1.3.3"

How to load a data source to a gateway from public server postgres Database?

I am trying to connect data-source to PowerBI Gateway from a public virtual machine, the data source is Postgresql. I had installed gateway on the same machine and tried to connect a new data source in the web and then given all the details to connect to the server. By clicking OK I got the following error:
Cluster URI: https://wabi-europe-north-b-redirect.analysis.windows.net
Status code: 400
Error Code: DMTS_PublishDatasourceToClusterErrorCode
Underlying error code: -2147467259
Underlying error message: The credentials provided for the Odbc source are invalid.
I tried using postrges data source also but the connection was not successful.
Please help me on this.
I had got the connection, the mistake was from my side I had given system username and password instead of DB username and password. Now the data source is connected to the gateway.

Unable to connect to second generation from SDK on OS X

I am unable to connect to a second generation Cloud SQL database from my OS/X SDK environment using PHP. I get a 1045 "Access denied for user 'user'#'ip address' (using password: YES)" error. I am using SSL for the direct IP connections.
My setup works fine for first generation Cloud SQL databases and it also works from MySQL Workbench.
I am migrating from a first to a second generation database and running tests. The only thing that changes is IP address and the referenced SSL files. From the PHP program the connection string looks like this for both generation 1 and generation 2 connections when using the SDK:
mysql:host=<IP_ADDRESS>:3306;dbname=<DATABASE>
Although the proxy hangs or crashes when attempting to connect it does report a valid connection when testing the connection from MySQL Workbench. When I attempt the actual connection, though, it either hangs after "New connection for..." message or crashes with a fatal error: unexpected signal during runtime execution after issuing the "New connection for..." message.