관리 메뉴

moozi

my.ini 본문

TIS_2018/응용sw2018_2기

my.ini

moozi 2018. 9. 10. 14:32

my.ini


my.ini

 

mysql installer로 설치했을 경우는 my.ini경로가 다음과 같다.

C:\ProgramData\MySQL\MySQL Server 5.7

---------------------------------------------------------------------------------------

위 파일을 적용해도 한글이 깨질 경우는,

 

1. DB생성시 collation을 utf8_general_ci로 설정.

2. jdbc connection string을 다음과 같이 작성.

 

"jdbc:mysql://localhost:3306/sampledb?useSSL=false&useUnicode=true&characterEncoding=UTF-8"

'TIS_2018 > 응용sw2018_2기' 카테고리의 다른 글

9/10 mysql  (0) 2018.09.10
자바연습문제17  (0) 2018.09.10
mysql jdbc 기본  (0) 2018.09.10
수업시간sql  (0) 2018.09.07
오라클연습문제07  (0) 2018.09.06
Comments