Skip to content

Commit 169036a

Browse files
committed
rds_kst_time add
1 parent 5184d08 commit 169036a

File tree

4 files changed

+54
-3
lines changed

4 files changed

+54
-3
lines changed

appendix/elasticbeanstalk.md renamed to 2019-12-05.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 10. ElasticBeanStalk 환경설정
1+
## 12. SpringBoot에서 ElasticBeanStalk ebextensions 파일 만들기
22

33
Springboot에서 작업을 하다가 ElasticBeanStalk 을 쓰려고 하면 환경설정을 해야될 경우가 있다.
44

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ OSX\(Mac OS Mojave\), Spring Tool suite4, JAVA 8
2121
* [2019-10-19](https://github.com/Djunnni/Springboot-Summary/blob/master/2019-10-19.md) : React + SpringBoot 프로젝트 만들기
2222
* [2019-11-30](https://github.com/Djunnni/Springboot-Summary/blob/master/2019-11-30.md) : SpringSecurity 인증 후 로그인 객체는 어떻게?
2323
* [2019-12-01](https://github.com/Djunnni/Springboot-Summary/blob/master/2019-12-01.md) : SpringBoot에서 Amazon SES 서비스 사용하기
24+
* [2019-12-05](https://github.com/Djunnni/Springboot-Summary/blob/master/2019-12-05.md) : SpringBoot에서 ElasticBeanStalk ebextensions 파일 만들기
2425
* [](#) : SpringBoot에서 Amazon DynamoDB 사용하기 - 제작중
2526
* [](#) : SpringBoot에서 Amazon ElasticBeanStalk을 통해 서비스 및 AutoScailing 구현 - 제작중
27+
2628
## 부록
2729

2830
* [Querydsl](https://github.com/Djunnni/Springboot-Summary/blob/master/appendix/querydsl.md) : Querydsl 설치법 및 사용법
@@ -34,7 +36,7 @@ OSX\(Mac OS Mojave\), Spring Tool suite4, JAVA 8
3436
* [React Error solution](https://github.com/Djunnni/Springboot-Summary/blob/master/appendix/react_error_solution.md) : React 연동과정에서 발생하는 문제 상황과 해결방법
3537
* [thymeleaf LocalDateTime](https://github.com/Djunnni/Springboot-Summary/blob/master/appendix/Thymeleaf_LocalDateTime.md) : Thymeleaf에서 LocalDateTime 사용하는 방법
3638
* [JpaAuditing 사용하기](https://github.com/Djunnni/Springboot-Summary/blob/master/appendix/JpaAuditing.md) : JpaAuditing을 통한 시간 동기화
37-
* [ElasticBeanStalk 환경설정](https://github.com/Djunnni/Springboot-Summary/blob/master/appendix/elasticbeanstalk.md) : SpringBoot 에서 ElasticBeanStalk 환경설정 파일 만들기
39+
* [AWS RDS timezone과 charset 변경](https://github.com/Djunnni/Springboot-Summary/blob/master/appendix/rds_kst_time.md) : AWS RDS timezone과 charset 변경
3840
* [Docker](#) : Docker - 미정
3941

4042
## Template

SUMMARY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* [9. React 구성하기](2019-10-19.md)
1313
* [10. SpringSecurity 인증 후 로그인 객체는 어떻게?](2019-11-30.md)
1414
* [11. SpringBoot에서 Amazon SES 서비스 사용하기](2019-12-01.md)
15+
* [12. SpringBoot에서 ElasticBeanStalk ebextensions 파일 만들기](2019-12-05.md)
1516
* [오류 상황과 대처법](appendix/README.md)
1617
* [1. Querydsl](appendix/querydsl.md)
1718
* [2. MYSQL 오류 대처법](appendix/mysql_error_solution.md)
@@ -22,5 +23,5 @@
2223
* [7. React 오류 대처법](appendix/react_error_solution.md)
2324
* [8. Tymeleaf LocalDateTime](appendix/Thymeleaf_LocalDateTime.md)
2425
* [9. JpaAuditing을 통한 시간 동기화](appendix/JpaAuditing.md)
25-
* [10. ElasticBeanStalk 환경설정](appendix/elasticbeanstalk.md)
26+
* [10. AWS RDS timezone과 charset 변경](appendix/rds_kst_time.md)
2627

appendix/rds_kst_time.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# 10. AWS RDS timezone과 charset 변경
2+
3+
### 1. RDS 파라미터그룹 만들기
4+
5+
RDS 콘솔에 들어와 좌측에 보면 파라미터 그룹이 있다.
6+
7+
파라미터 그룹을 생성하고 들어오면
8+
9+
'파라미터 편집' <= 누르기
10+
11+
12+
### 2. 파라미터 편집하기
13+
14+
1. time_zone 검색
15+
=> Asia/Seoul 로 변경
16+
17+
2. char 검색
18+
=> 아래처럼 변경
19+
~~~
20+
character_set_client = utf8mb4
21+
character_set_connection = utf8mb4
22+
character_set_database = utf8mb4
23+
character_set_filesystem = binary
24+
character_set_results = utf8mb4
25+
character_set_server = utf8mb4
26+
~~~
27+
28+
3. collation 검색
29+
=> 아래처럼 변경
30+
~~~
31+
collation_connection = utf8mb4_general_ci
32+
collation_server = utf8mb4_general_ci
33+
~~~
34+
35+
#### 왜? utf8이 아닌 utf8mb4 ??
36+
utf8mb4는 이모티콘까지 추가되어있어 utf8보다 좀 더 추가된 필드를 갖기때문
37+
38+
4. 변경사항 저장
39+
40+
### 3. 파라미터 적용하기
41+
42+
RDS 생성 또는 수정에서
43+
44+
데이터베이스 옵션 > DB 파라미터 그룹 > [설정한 파라미터그룹 이름 설정]
45+
46+
적용
47+
48+

0 commit comments

Comments
 (0)