本文转载地址:http://developer.51cto.com/art/200906/130425.htm 感谢相关作者! MySQL默认编码是latin1 mysql> show variables like 'character%'; +--------------------------+--------------------------+ | Variable_name | Value | +--------------------------+------------------…
jdbc:mysql://192.168.1.77:3306/db360?useUnicode=true&characterEncoding=UTF-8 drop database if exists ljdb; create database ljdb character set 'utf8' collate 'utf8_general_ci'; use ljdb; drop table if exists rinfo; create table rinfo( ) ,id bigint ,ab…