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

后端 未结 14 1675
再見小時候
再見小時候 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:58

    Sounds like you need to download the latest connector j jar:

    http://chillyfacts.com/java-sql-sqlexception-unknown-initial-character-set-index-224-received-server/

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

    Using MySQLWorkbench interface:

    First click in your connection ->

    After click in Options File

    And change character-set-server and collation-server values to the values below:

    Make sure to restart mysql server by opening services and restarting mysql server.

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