Error message trying to connect CTR data to Athena - json

I am trying to connect my connect data to Athena so I can run some queries and connect it to the ODBC.
I have set up the Data stream in Kinses.
I have set up the crawler in GLUE.
I can see the database and table in Athena but as soon as I try to run any queries or even just preview the table I am getting this error:
'HIVE_CURSOR_ERROR: java.io.IOException: start token not found where expected'
Any ideas what would be causing this error? Thanks in advance

Related

How to establish the connection between AWS database and Azure data Factory?

I am trying to establish the connection between MYSQL database which is in AWS and Azure Data Factory.I put the correct server name,database name,username,pw but everytime it was throwing time out error and was unable to establish the connection between them.Can anyone help to resolve this issue?
Thank You,

Unable to connect to 127.0.0.1:3306 in Mysql

I was creating a very large table using a python data set in the Mysql server, which I today realized was beyond the server's capacity.
Post which I am unable to connect to the server
I get the following error when I try to establish a connection on the MySQL workbench, I also get something similar when I try the same on python using MySQL connector
Following is a screenshot of the error
I tried setting up a new connection as follows, but I receive the same error:
I tried this solution, which is similar but I keep getting the following error
'mysql' is not recognized as an internal or external command,
operable program or batch file.
Is there any other way I can connect, or if there is anything I have to do before I can connect?
127.0.0.1 this server not get . Try to reconnect in another address..

Connect to AWS RDS MySql database with Python

I am currently trying to connect to my MySql database created on AWS with a python program using the library PyMySQL.
import pymysql.cursors
connection = pymysql.connect(host='.blablablablabla.us-east.rds.amazonaws.com',
user='Username',
password='Password',
db='nameofmydb',
)
When I run the above code I get the following error:
pymysql.err.InternalError: (1049, "Unknown database 'nameofmydb'")
What am I doing wrong? The arguments I gave to the function are correct. Could it be a problem with the MySql driver?
Thank you in advance
The message is the standard one, returned by mysql server. It means what it says, it can not find the database. Doesn't look like a connectivity problem or a driver issue: it reaches the server and the server returns a message.
Just make sure you have created the database using the CREATE DATABASE command. Use the mysql CLI client to connect to the database and type SHOW DATABASES to see all the available databases.

Talend MySQl Database error

I am trying to create a new database connection in talend studio and it is showing me this error:
Connection failure. You must change your database settings.
I have configured MySQl installer and also I have searched about this error and saw some answers but neither of them were clear, how can I fix this problem.
The exception thrown says that Talend was unable to connect to the database "demo". Try to create a database with the name "demo" with another SQL tool before connecting to it with talend.

Getting error when creating connection to MySQL server driver

I installed MySQL server and I also test this server by creating user data base userlist table and also check that it is working fine on command line as I previously done. But This time getting error when try to create a user.
I already used this but actauly I format my system and creating connection again. But this time getting error.