마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

mysql 데이터베이스 콘솔? 창에서 한글이 ??로 인식됩니다 도와주세요

0 추천

jsp랑 별개로

cmd창 켜서 mysql 접속한후, insert문으로 한글로 넣어주면 물음표가 나타납니다..

어디를 설정해줘야대는거에요?

 

my-default.ini 파일 내용입니다

# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.

[mysqld]

# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M

# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin

# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....


# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

익명사용자 님이 2014년 7월 14일 질문

1개의 답변

0 추천
문자 인코딩을 맞춰주세요.

MySQL 에서 접속후 '\s' 명령어를 치면 현재 MySQL에 설정된 문자코딩 정보가 나타납니다.

그것을 보고 설정을 바꿔주시면 됩니다.

바꾸는 것은 인터넷을 찾아서 하시고.. 딱히 인코딩 문제외에는 떠오르지가 않네요.
인연 (31,880 포인트) 님이 2014년 7월 14일 답변
...