티스토리 뷰
Error
The server time zone value 'EDT' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specific time zone value if you want to utilize time zone support.
Start MySQL
mysql -u root -p
Change directory to search my.cnf
cd /usr/local/etc/my.cnf
Check "my.cnf" File
cat my.cnf
add default-time-zone = '+08:00' at the end of the 'my.cnf' file
nano my.cnf
And add serverTimezone=UTC in the JDBC connection string
Reference
'JAVA' 카테고리의 다른 글
Read CSV File and store data to MySQL (0) | 2019.08.01 |
---|---|
Access ArrayList from another class (0) | 2019.08.01 |
Connect to MySQL using Java JDBC (0) | 2019.07.31 |
Java is Pass-By-Value (0) | 2019.07.27 |
Arrays.sort in Java (0) | 2019.07.23 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- hackerrank
- algorithm
- hackerrank solution
- spring boot application
- repeat()
- javascript
- math.abs
- 알고리즘
- code refactoring
- Collection Framework
- ... in Javascript
- equals()
- 프로그래머스 알고리즘문제
- 프로그래머스 알고리즘
- hackerrank javascript solution
- hackerrank javascript
- string class in java
- rest parameter
- substring()
- math.max
- java
- HackerRank Algorithm
- HashMap
- 프로그래머스
- Javascript Algorithm
- easy algorithm
- compareTo()
- Object type casting
- easy javascript algorithm
- C++
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함