Specify the character set when creating a connection GB2312, for example: Connect Test Database with Root User, Empty Code, Conn = DriverManager.getConnection ("JDBC: MySQL: // Localhost: 3306 / Test? Useunicode = true & characterencoding = GB2312", "root" "" "
By the RedHat 9 MySQL 4.0.20 Tomcat5.24.