Big Bug Ban

兴趣 践行 创新

jdbc mysql编码

 

在连结串后加入&characterEncoding=XXXXX

比如

jdbc:mysql://localhost:3306/cdutkvb?autoReconnect=true&characterEncoding=utf8

注意&号应该是转义后的&

记录一下.

Written by princehaku

8月 20th, 2010 at 10:50 下午

Posted in java

Tagged with

without comments

Leave a Reply