ddenug调试,看在程序中是否乱码.如果调试没乱码,那就在连接数据库语句时Connection sqlCon = DriverManager.getConnection( "jdbc:mysql://localhost:3306/test?user=root&password=1&useUnicode=true&characterEncoding=utf-8" );