Illegal mix of collations for operation 'like' while searching with Ignited-Datatables

后端 未结 5 574

I have successfully implemented Ignited-Datatables. However, while searching with database when typing \"non-latin\" characters like \"İ,ş,ğ,..\"

POST http://v

5条回答
  •  再見小時候
    2020-12-06 07:07

    I met a similar error when LIKE was applied to the DateTime column.
    So now, instead of using simple date_col LIKE '2019%' I use CAST(date_col AS CHAR) LIKE '2019%'.

    The solution was found on the official MySQL bugs website.

提交回复
热议问题