더북(TheBook)

17. 50-mysql-clients.cnf 파일을 열어 default-character-set을 utf8로 변경합니다.

root@controller:/etc/mysql/mariadb.conf.d# vi 50-mysql-clients.cnf
#

These groups are read by MariaDB command-line tools

Use it for options that affect only one utility

#

[mysql]

Default is Latin1, if you need UTF-8 set this (also in server section)

default-character-set = utf8

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.