절대적 발전

  • 홈
  • 태그
  • 방명록

MySQL 2

Mysql Server Timezone 설정방법

Mysql Server Timezone 설정 방법 필자는 Mysql 5.7로 진행하였다.(5.7 이하의 버전이나 이후의 버전도 레퍼런스 확인 결과 비슷함) 아래의 명령어로 현재 타임존 확인가능 SELECT @@GLOBAL.time_zone, @@SESSION.time_zone; 위와 같이 출력되면 기본 세팅인 것(As the value 'SYSTEM', indicating that the server time zone is the same as the system time zone. - 시스템 시간대를 따라간다고 한다.) If set to SYSTEM, every MySQL function call that requires a time zone calculation makes a system librar..

프로그래밍 2020.11.16

SpringBoot Mysql Datasource 세팅

SpringBoot에서 Mysql Datasource 세팅하기. 필자는 JPA, Gradle로 진행했다.(Mybatis같은 환경도 아래 세팅으로 사용가능 할 듯) Gradle.build dependencies { ... implementation ("mysql:mysql-connector-java") implementation "org.springframework.boot:spring-boot-starter-data-jpa" ... } JPA 사용시에만 JPA 의존을 추가하자 DatabaseConfig.java @Slf4j @EnableJpaAuditing @Configuration public class DatabaseConfig { @Bean public PasswordEncoder passwordE..

Spring 2020.11.16
1
더보기
프로필사진

  • 분류 전체보기 (83)
    • 프로그래밍 (8)
    • IDE (3)
    • Java (13)
    • Spring (12)
    • Node.js (2)
    • Vue.js (1)
    • Flutter (5)
    • IT Tip (6)
    • Infrastructure (5)
    • 스터디-Spring (27)
    • 스터디-알고리즘 (1)

Tag

스프링, java, DART, 개발, docker, node, 안드로이드, EffectiveJava, windows10, Flutter, android, 튜토리얼, querydsl, Spring, JPA, 소프트웨어 아키텍쳐, 플러터, Security, frontend, thymeleaf,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

티스토리툴바