본문 바로가기
[DataBase]/MySql

mysql DB 마이그시 한글깨짐

by control+c 2017. 1. 10.
반응형


DB 마이그시 한글이 깨지면 


character set을 설정해주면 된다.


덤프뜰 때

select * into outfile '/경로/파일명' character set utf8 from 테이블명 where 조건식;



파일로드할 때

load data infile'/경로/파일명' ignore into table 테이블명 character set utf8;


반응형

댓글