 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
metal81
Joined: 12 Oct 2016 Posts: 3 Country: Korea, Republic of |
|
error in heidisql for mysql |
|
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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
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 |
|
 |
|
|
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
|
|
|