mysql_mariadb_한글_사용을_위한_utf-8_설정

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
mysql_mariadb_한글_사용을_위한_utf-8_설정 [2015/06/18 15:49] – 바깥 편집 127.0.0.1mysql_mariadb_한글_사용을_위한_utf-8_설정 [2017/09/21 04:02] (현재) koov
줄 1: 줄 1:
-<code>+===== MariaDB UTF-8 설정 ===== 
 + 
 +<WRAP prewrap> 
 +<code bash> 
 +character_set_server=utf8mb4 
 +</code> 
 +</WRAP> 
 + 
 + 
 +===== MySQL UTF-8 설정 ===== 
 + 
 +<WRAP prewrap> 
 +<code bash my.cnf>
 # #
 # The MySQL database server configuration file. # The MySQL database server configuration file.
줄 16: 줄 28:
 # This will be passed to all mysql clients # This will be passed to all mysql clients
 # It has been reported that passwords should be enclosed with ticks/quotes # It has been reported that passwords should be enclosed with ticks/quotes
-# escpecially if they contain "#" chars... 
-# Remember to edit /etc/mysql/debian.cnf when changing the socket location. 
-[client] 
-port            = 3306 
-socket          = /var/run/mysqld/mysqld.sock 
 # escpecially if they contain "#" chars... # escpecially if they contain "#" chars...
 # Remember to edit /etc/mysql/debian.cnf when changing the socket location. # Remember to edit /etc/mysql/debian.cnf when changing the socket location.
줄 137: 줄 144:
 #   The files must end with '.cnf', otherwise they'll be ignored. #   The files must end with '.cnf', otherwise they'll be ignored.
 </code> </code>
 +</WRAP>
  • mysql_mariadb_한글_사용을_위한_utf-8_설정.1434642540.txt.gz
  • 마지막으로 수정됨: 2016/02/16 03:40
  • (바깥 편집)