WHAT Error connecting Athena to Dbeaver_ AWS? - amazon-web-services

Guys, I've been trying to connect Dbeaver to Athena for a few days, but this error always appears and I can't handle it.
Can someone who has already made this connection help me?
I tried to make the connection through ODBC and JDBC but both show the same error.

Related

Google Cloud Fusion: Failed to explore connection. Error: "Failed to create connection to database via connection string:

I am trying to set up a connection to a postgres DB from Cloud Fusion. I have what I think is the appropriate JDBC driver. I am going through the Wrangler UI. I keep getting this error message: Failed to explore connection. Error: "Failed to create connection to database via connection string: jdbc:postgresql://XX.XXX.X.XX:PORT/TABLE_NAME and arguments: {user=USERNAME}. Error: SocketTimeoutException: connect timed out."
It appears my password is being sent. Is this a jdbc issues or something else? All help appreciated.
Thanks!

Connection via Cloud Identity-Aware Proxy Failed Code: 6001 Reason [BLANK]

I'm getting the following message in my VM Ubuntu using GCP when I need to download a big snap shot (100GB). The message keeps coming up after about an hour of uploading. Notice there is no Reason given.
Can anyone suggest a solution?

Why are Google Cloud SQL connections failing: "(psycopg2.DatabaseError) server closed the connection unexpectedly"

I am working with a customer who is having issues with their GCP Cloud SQL deployment. There questions are transcribed here:
When connecting to Cloud SQL, connections often fail intermittently. This can look like a Python error:
(psycopg2.DatabaseError) server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
Or, in Node, it can look like a timeout error or a socket hang up:
TimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
We have everything configured correctly, as far as we can tell, and have followed all the instructions in the Cloud SQL troubleshooting guide. We have an instance with 20GB of memory that should support 250 connections. The timeouts should be set to refresh the connections at the right intervals (< 10 min). So we're not sure what's going on here.
I know that isn't a ton to go on but I wanted to try and do my due diligence in seeing how we can help them. I realize we may not get a perfect answer on what is going on but some additional questions I can ask of them to help debug the issue would be a great help to start with.
I found this similar question that seems to be describing the same issue but it has no answers: PostgreSQL 'Sever closed the connection unexpectedly'
Thanks for any help!
As the error suggest, it's not clear what caused the connection to be closed. I would suggest looking into the Cloud SQL error logs (within your Google Cloud Console) to see detailed information as to why the connection was closed, as it was the case in this Github Issue (The wrong role was assigned).

External List Error : The query against the database caused an error

I got an SQL Server 2008 R2 and a SharePoint Server. I have put up a BCS between the two servers. Reading data through a External List. This worked fine yesterday. But to day I got this error:
The query against the database caused an error.
Correlation ID:7ebc312e-db3a-46a4-afbe-04b0115c4885
w3wp.exe (0x0CB4)-0x1AD8-SharePoint Foundation-Logging Correlation Data-xmnv-Medium Name=Request (POST:http://External%20List/Read%20List.aspx)-7ebc312e-db3a-46a4fbe-04b0115c4885
Some of the guys I work with have reset the IIS, can this be the problem?
After hours and hours of searching and debugging I finally found out what the problem was:
Somebody had removed read/write access from the user I created in SQL Server. When checking Read/Write boxes everything works fine again.
If you want to learn about BCS: Take a look at this video about Business Connectivity Services

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.