Unknown initial character set index '255' received from server. Initial clie
当遇到这句话时,一般是因为
conn=DriverManager.getConnection("jdbc:mysql://localhost/rc","root","123456");
jdbc:mysql://localhost/rc后面没有加上这句话
?useUnicode=true&characterEncoding=utf8
conn=DriverManager.getConnection("jdbc:mysql://localhost/rc?useUnicode=true&characterEncoding=utf8","root","123456");
现在就好了