SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
error in heidisql for mysql

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
error in heidisql for mysql
Author Message
metal81



Joined: 12 Oct 2016
Posts: 3
Country: Korea, Republic of

Post error in heidisql for mysql Reply with quote
disabled to 'mysql.user' and 'mysql.servers', 'mysql.proc' query

but, when I run the query, I get an error message.

What is the problem?







Thu Jan 31, 2019 10:26 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Reply with quote
Hi,

It looks like you are using MySQL 8 ODBC driver to connect to MariaDB server v5. They are known to be incompatible and that is the root cause of the issues. I recommend that you either install MariaDB ODBC driver, or copy libmariadb.dll to your computer and in SQL Assistant change connection type to native and choose path to the libmariadb.dll. Also, please be sure to select MariaDB as target database type (not MySQL, it's important too, or you will see more errors).

Also, please uncomment the schema query. This query is critical. It's just happens to be one of the first executed and that's why you are seeing the errors related to that query.
The issues are not in the query but in selecting incompatible connection settings.


Last edited by SysOp on Fri Feb 01, 2019 3:02 am; edited 1 time in total
Fri Feb 01, 2019 2:38 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Reply with quote
PS. I saw the exception messages you logged earlier and this is how I guessed your connection driver and server versions. The messages were very helpful.

Define: ODBC Error (9): SQLBindCol
Client: 08.00.0013
Server: 5.7.25-0ubuntu0.16.04.2
SQL State: 07009
[MySQL][ODBC 8.0(a) Driver][mysqld-5.7.25-0ubuntu0.16.04.2]Invalid descriptor index;


Please let me know if the above is incorrect or my guessing of your connection to MariaDB 5.7 server is wrong.
Fri Feb 01, 2019 2:43 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.