Contents

?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

MySQL 쿼리에 한글이 포함됐을 때 이런 오류가 나는 경우가 있다.


# 오류 내용

mysql> ERROR 1366 (HY000): Incorrect string value: '\xEB\xB2\x88 \xED\x94...' for column 'memo' at row 1




# 해결 방법


1. /etc/my.cnf 파일을 수정 (다음 내용을 추가)

[mysqld]
. . .
default-character-set=utf8
default-collation=utf8_general_ci
. . .



2. database, table character set 수정

mysql> ALTER TABLE  table_name  convert to charset utf8;


TAG •

?

List of Articles
No. Category Subject Author Date Views
12 Develop [ios] Facebook Cache 갱신하는 함수 file hooni 2017.02.27 1324
11 Develop [ios] 동영상 플레이어 샘플 (for PIP Player) file hooni 2017.03.15 1402
10 Develop Mac OS 에 Jenkins 설치하기 (Homebrew) 2 file hooni 2017.03.15 8395
9 Develop [ios] Xcode에서 특정 파일만 ARC 따로 설정하는 방법 file hooni 2017.03.29 1081
» Database [mysql] 쿼리 실행시 ERROR 1366 (HY000) : incorrect string value : for column 3 hooni 2017.03.30 8960
7 Develop [ios] NSString, RegularExpression Find/Replace hooni 2017.04.14 956
6 Develop [ios] Facebook SDK 로그인 설명 file hooni 2017.04.19 1335
5 System/OS [linux] 초간단 Postfix, Covecot, SSL/TLS (SMTP) file hooni 2017.12.11 9512
4 Database [mysql] ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. hooni 2017.12.15 1378
3 Develop [ios] Requesting Location Permissions in iOS file hooni 2018.08.18 1735
2 System/OS 서버 확장을 위한 두 가지 방법 file hooni 2018.08.29 2265
1 System/OS 맥에서 포트 확인하고 닫기 (mac) hooni 2022.03.22 1207
Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7