AWS DMS Endpoint connection issue - postgresql

While testing the connection for a Postgres DB(Destination DB) endpoint getting the error on AWS DMS endpoint
Test Endpoint failed: Application-Status: 1020912, Application-Message: Cannot connect to ODBC provider Network error has occurred, Application-Detailed-Message: RetCode: SQL_ERROR SqlState: 08001 NativeError: 101 Message: [unixODBC]timeout expired
I'm able to connect to the DB directly via various DB clients using the same credentials

Related

DBVisualizer Error : Long Message: SSL error: Connection reset, Details: Type: java.sql.SQLException SQL State: 08006

I am getting below error while trying to connect to a Redshift database thru DB visualizer. It was working fine but then computer restarted and it stopped working. Now giving below error while connecting to Redshift -
An error occurred while establishing the connection:
Long Message:
SSL error: Connection reset
Details:
   Type: java.sql.SQLException
   SQL State: 08006

ECS Fargate container is throwing org.postgresql.util.PSQLException: The connection attempt failed

My ECS Fargate containers & Aurora RDS (Postgres 11.7) database are in the same private subnet of VPC. My ECS only allows inbound access from ALB that's in a public subnet
I have also added ECS security group in the 'Inbound Rules' section of the RDS security group with TCP protocol. Still my dockerized CUBA application is unable to connected to the database. It is using a JDBC url: jdbc:postgresql://cluster writer endpoint/databasename
but throwing the following error
03:55:10.672 INFO com.zaxxer.hikari.HikariDataSource - Connection Pool-Main - Starting...
2020-11-20T14:55:10.691+11:00 03:55:10.691 DEBUG com.zaxxer.hikari.pool.PoolBase - Connection Pool-Main - Failed to create/setup connection: The connection attempt failed.
2020-11-20T14:55:10.766+11:00. 03:55:10.702 DEBUG com.zaxxer.hikari.pool.HikariPool - Connection Pool-Main - Cannot acquire connection from data source
2020-11-20T14:55:10.766+11:00 org.postgresql.util.PSQLException: The connection attempt failed.
2020-11-20T14:55:10.766+11:00 at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:292) ~[postgresql-42.2.9.jar:42.2.9]
2020-11-20T14:55:10.766+11:00 at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) ~[postgresql-42.2.9.jar:42.2.9]
2020-11-20T14:55:10.766+11:00. at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:211) ~[postgresql-42.2.9.jar:42.2.9]
My Aurora database is 'Provisioned' not Serverless. Also, I am able to connect to the database using a Cloud9 EC2 environment within the same VPC( by adding its security-group into the 'Inbound Rules' section of the database security group ).
Any ideas on what could be the issue here. Is there some VPC setting I am missing here or some JDBC driver version issue ?

How do I access my sql server 2014 express adv from another computer?

Cannot connect to ITADMIN\SQL2014.
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476

MySQL Database Connection in Pentaho

I am trying to create a new connection in pentaho to connect mysql database. And I am getting an below error.
Pentaho community edition V6.1
Connector : mysql-connector-java-5.1.17-bin.jar
Error connecting to database [Reports] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class org.gjt.mm.mysql.Driver)
Could not connect to address=(host=localhost)(port=3306)(type=master) : Connection timed out
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class org.gjt.mm.mysql.Driver)
Could not connect to address=(host=localhost)(port=3306)(type=master) : Connection timed out

handshake error in connecting SQL server 2008 r2

I got this error while connecting to local DB
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) (.Net SqlClient Data Provider)
Help