I have table input and insert/update component on my transformation. when i put all parameters for mysql8 and click on test, it was successful and able to connect. But when i browse table I am getting following error
**Unable to retrieve database information because of an error
Error getting views from schema [null]
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HAVING TABLE_TYPE IN ('VIEW',null,null,null,null) ORDER BY TABLE_TYPE, TABLE_SCH' at line 1
I have latest mysql8.x jar in lib directory
this is not related with pentaho kettle, you have an error in your query
Related
I am trying to create a SSAS tabular project where data source is memSQL DB. I am able to connect to the memSQL database from any SQL client tool using MySQL and/or MariaDb OBDC driver. But when I am using the same ODBC driver for a SSAS tabular project "using OLEDB provider for ODBC" then I am getting error like below:
Failed to retrieve data from DATE_DIM. Reason: ERROR [42000] [MySQL][ODBC 5.3(w) Driver][mysqld-5.5.58]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*
FROM [DATE_DIM]' at line 1
ERROR [42000] [ma-3.0.9][5.5.58]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*
FROM [DATE_DIM]' at line 1
I have used the connect string as "Provider=MSDASQL.1;Persist Security Info=False;DSN=memSQLDB". Test connection was successful, but when trying to preview any table's data it throws the above error to me.
Is it a compatibility issue between memSQL (5.5.58) version and MySQL ODBC driver (version-5.3) or MariaDB OBDC driver (version-3.0.9)?
Can anyone suggest if there is any compatible ODBC driver exists, which can work with SSAS ?
With this error message, it appears it's less about authenticating correctly and more about the SSAS tool issuing queries with syntax MemSQL doesn't understand. Can you grab the query(ies) and post them here? That'll help us migrate these to compatible syntax. Depending on how the tool works, you may not have control over changing these queries, and will need the tool vendor to patch the query syntax to be more compatible.
In IBM SQL Query, simple table creation query is not working, its give error -
No viable alternative at input 'CREATE TABLE'
I take query(for create table) from official site and its also give the same error.
Attached below (official site query) screenshot url
https://i.ibb.co/n78BrPd/officalsiteexample.png
The IBM SQL Query service allows you to run queries (SELECT statements) against data. The syntax reference only has SELECT, not CREATE TABLE. Thus, seeing the syntax error is expected.
I am trying to setup a PWM server but when I get to the Database Remote Connection I get the error below which appears to be the sql database unable to create a table. I have reviewed the logs and they state that the connection to the SQL database was successful. When I go to the SQL database and manually try to add a table it also fails.
unable to initialize database: exception initializing database service: 5051 ERROR_DB_UNAVAILABLE (error creating new table PWM_META: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'value TEXT )' at line 3)
I've created a datasource in the Coldfusion Administrator interface for an embedded Apache Derby database. The queries, such as select, work fine. However, I can't find a way to create a new table in my database. I couldn't find interface for that, such as in phpmyAdmin, either. that. I've tried to create it by using a SQL query, but then builder complains about syntax errors:
Error Executing Database Query.
Syntax error: Encountered "AUTO_INCREMENT" at line 1, column 38
Screen shots:
Please help me to make this sql working.
create table testjson(data json);
This query does not work because of the json type.
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
that corresponds to your MariaDB server version for the right syntax to use near 'json)' at line 1
I am using mariadb10. This is the output when I connect with mysql command.
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.5.5-10.0.24-MariaDB mariadb.org binary distribution
There is no JSON datatype, at least not in the rather old Version 5.5.