Unknown initial character set index ‘255‘ received from server. Initial client character set can be

hyd130發表於2020-11-08

Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.

在myeclipe連線JDBC時出現上面這個問題,後來在url後面新增一行程式碼就好了

 

jdbc:mysql://localhost:3306/hib?useUnicode=true&characterEncoding=utf8

相關文章