连接mysql时出错
有这个连接时没有问题
conn=DriverManager.getConnection("jdbc:mysql://localhost/student?user=root&password=8780&useUnicode=true&characterEncoding=ISO-8859-1");
换成这个就不行了
conn=DriverManager.getConnection("jdbc:mysql://localhost/student?user=root&password=8780&useUnicode=true&characterEncoding=gb2312");