The MYSQL command line client that is installed on the ClickHouse CENTOS server works fine. My windows driver accessing CH from a remote Windows server can connect (when using the ODBC administrator)but does not work when using the connector from an application. I also tested a MYSQL driver from a remote linux application, it would not work either. I have tried a few MYSQL drivers from version 5-8 and from Oracle and MariaDB. I am getting errors from the MYSQL driver, I cannot resolve
One of the errors:
Details: "ODBC: ERROR [HY000] [MySQL][ODBC 8.0(w) Driver][mysqld-20.4.2.9-ClickHouse]Syntax error: failed at position 5: @@sql_select_limit=DEFAULT. Expected one of: ROLE, identifier, ROLE DEFAULT, DEFAULT ROLE"
A second error (different client):
could not load system variables
Syntax error: failed at position 6: VARIABLES WHERE Variable_name in ('max_allowed_packet','system_time_zone','time_zone','auto_increment_increment'). Expected one of: TABLES, GRANTS, CREATE, QUOTA USAGE, POLICIES, ROW POLICIES, PROCESSLIST, CREATE, QUOTAS, DICTIONARIES
It is important that I get the MYSQL interface working. Any ideas?