idea连接mySql报错-Error Unknown character set index for field '224' received from server

数据库能插入数据,也能创建数据,一切正常但是一旦用Java代码连接数据库就会报错Error Unknown character set index for field '224' received from server

  • 1.怎么解决呢 删除数据库修改表的字符集也没有效果
  • 2.查过许多文章才知道是因为jdbc驱动的问题,都说需要去mysql官网下载最新的驱动,但是我因为是mac系统进入官网是这样的,怎么下载驱动啊


    idea连接mySql报错-Error Unknown character set index for field '224' received from server_第1张图片
  • 3.那怎么办呢
    idea连接mySql报错-Error Unknown character set index for field '224' received from server_第2张图片
    点击这个,你会发现惊喜
  • 4.点击会提示无关平台


    idea连接mySql报错-Error Unknown character set index for field '224' received from server_第3张图片
    你下载哪个都可以
  • 5.然后下载完之后解压


    idea连接mySql报错-Error Unknown character set index for field '224' received from server_第4张图片
    大功告成

持续更新实用的干货
关注 coderYJ
微博关注 coderYJ
微信公众号关注 coderYJ

你可能感兴趣的:(idea连接mySql报错-Error Unknown character set index for field '224' received from server)