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

后端 未结 14 2519
感情败类
感情败类 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 22:44

    Setting the CharacterEnconding, useUnicode options will work

    jdbc:mysql://localhost:3306/dbname?characterEncoding=utf8&useSSL=false&useUnicode=true"

提交回复
热议问题