我写了一条sql语句:sql="select sum(user_amount) / sum(amount) * 100 from bets where user_name='eileen'";
在jsp中运行时出现如下出错信息:org.apache.jasper.JasperException: General error message from server: "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (gb2312_chinese_ci,COERCIBLE) for operation '='"我在jsp中使用的gb2312,兄弟门说我mysql的字符集错误,应该怎么改?以下是我的帖子:
http://community.csdn.net/Expert/topic/3363/3363951.xml?temp=.1310541
在jsp中运行时出现如下出错信息:org.apache.jasper.JasperException: General error message from server: "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (gb2312_chinese_ci,COERCIBLE) for operation '='"我在jsp中使用的gb2312,兄弟门说我mysql的字符集错误,应该怎么改?以下是我的帖子:
http://community.csdn.net/Expert/topic/3363/3363951.xml?temp=.1310541
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货