报以上错误
可以试一下打开mysql程序
mysql> SET character_set_client = utf8
;
mysql> SET character_set_connection = utf8
;
mysql> SET character_set_database = utf8
;
mysql> SET character_set_results = utf8
;
mysql> SET character_set_server = utf8 ;
mysql> SET collation_connection = utf8
;
mysql> SET collation_database = utf8
;
mysql> SET collation_server = utf8 ;
重启mysql服务,再重新运行java程序