报错的原因是 datagrip 2020.1 在连接 mysql 时,会执行下面的 sql
select table_name from information_schema.tables where table_schema collate utf8_general_ci = ‘information_schema’ and table_name collate utf8_general_ci=‘parameters’;
mysql 中 information_schema.tables 的字符集和 collaction 是 utf8,而 tidb 中该表是 utf8mb4,与 mysql 不兼容导致报错,可以使用其他 IDE 工具连接 tidb