mysql 乱码

## UTF 8 Settings
init-connect='SET NAMES utf8'
collation_server=utf8_unicode_ci
character_set_server=utf8
skip-character-set-client-handshake
character_sets-dir="/xampp/mysql/share/charsets"

 

<property name="hibernate.connection.url">
        <![CDATA[jdbc:mysql://localhost:3306/daycode?useUnicode=true&characterEncoding=utf8]]>
</property>
posted @ 2014-09-07 16:05  anjsxz  阅读(144)  评论(0编辑  收藏  举报