How to configure charset = utf-8 in Mysql?

3

I'm trying to set charset=utf-8 in MYSQL, but I can not find it in the my.ini file. Which file do I set up?

    
asked by anonymous 07.07.2016 / 22:09

1 answer

3

I was added in my.ini itself

[client]
default-character-set=utf8

[mysql]
default-character-set=utf8


[mysqld]
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8

Credits for @Guilherme Nascimento ..;) vlw

    
07.07.2016 / 23:23