Loading...
MySQL 9.5 Reference Manual 9.5의 12.3 Specifying Character Sets and Collations의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
12.3.1 Collation Naming Conventions
12.3.2 Server Character Set and Collation
12.3.3 Database Character Set and Collation
12.3.4 Table Character Set and Collation
12.3.5 Column Character Set and Collation
12.3.6 Character String Literal Character Set and Collation
12.3.7 The National Character Set
12.3.8 Character Set Introducers
12.3.9 Examples of Character Set and Collation Assignment
12.3.10 Compatibility with Other DBMSs
character set과 collation에 대한 기본 설정은 네 가지 수준(서버, 데이터베이스, 테이블, 칼럼)에 있습니다. 다음 섹션에 나오는 설명은 복잡해 보일 수 있지만, 실제로는 여러 수준의 기본값 체계가 자연스럽고 명백한 결과를 가져오는 것으로 확인되었습니다.
CHARACTER SET은 character set을 지정하는 절에서 사용됩니다. CHARSET은 CHARACTER SET의 동의어로 사용할 수 있습니다.
character set 관련 이슈는 데이터 저장뿐만 아니라 클라이언트 프로그램과 MySQL 서버 간의 통신에도 영향을 줍니다. 클라이언트 프로그램이 서버의 기본값과 다른 character set을 사용하여 서버와 통신하도록 하려면, 어떤 character set을 사용할 것인지 지정해야 합니다. 예를 들어, latin1 Unicode character set을 사용하려면, 서버에 연결한 후 다음 statement를 실행합니다:
1SET NAMES 'latin1';
클라이언트/서버 통신에서 character set 관련 이슈에 대한 더 자세한 내용은 Section 12.4, “Connection Character Sets and Collations”을 참조하십시오.
12.2.2 UTF-8 for Metadata
12.3.1 Collation Naming Conventions