首页 > 代码库 > mysql 乱码

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>

mysql 乱码