You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The query that is used for mapping the columns is mixing up the order of the columns. (Mysql v8.0) Please add 'ORDER BY ORDINAL_POSITION' to the query to fix this. (Worked for me..)
Like:
var tableInfoQueryTemplate = 'SELECT ' +
'COLUMN_NAME, COLLATION_NAME, CHARACTER_SET_NAME, ' +
'COLUMN_COMMENT, COLUMN_TYPE ' +
'FROM information_schema.columns ' + "WHERE table_schema='%s' AND table_name='%s'" +
'ORDER BY ORDINAL_POSITION';
The text was updated successfully, but these errors were encountered:
The query that is used for mapping the columns is mixing up the order of the columns. (Mysql v8.0) Please add 'ORDER BY ORDINAL_POSITION' to the query to fix this. (Worked for me..)
Like:
var tableInfoQueryTemplate = 'SELECT ' +
'COLUMN_NAME, COLLATION_NAME, CHARACTER_SET_NAME, ' +
'COLUMN_COMMENT, COLUMN_TYPE ' +
'FROM information_schema.columns ' + "WHERE table_schema='%s' AND table_name='%s'" +
'ORDER BY ORDINAL_POSITION';
The text was updated successfully, but these errors were encountered: