java.sql.SQLException: Unknown initial character set index '255' received from server for connector 8.0.11

后端 未结 14 2508
感情败类
感情败类 2021-02-14 22:13

While establishing the connection to a MySQL database, I\'m getting the following error

java.sql.SQLException: Unknown initial character set index \'255\' receiv         


        
相关标签:
14条回答
  • 2021-02-14 23:00

    With version 8 the default characterset changed. When you add your character set to the connection URL like ?characterEncoding=latin1 it might work.

    0 讨论(0)
  • 2021-02-14 23:01

    Just download latest version of hibernate jar file from
    https://www.javatpoint.com/src/hb/hibernatejar.zip
    and the MySQL connector jar file from
    https://dev.mysql.com/downloads/connector/j/5.1.html

    0 讨论(0)
提交回复
热议问题