티스토리 뷰
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
- java
- hackerrank solution
- hackerrank javascript solution
- compareTo()
- easy algorithm
- Object type casting
- equals()
- hackerrank javascript
- substring()
- Javascript Algorithm
- C++
- 프로그래머스
- algorithm
- 알고리즘
- repeat()
- HackerRank Algorithm
- javascript
- math.max
- math.abs
- string class in java
- ... in Javascript
- code refactoring
- rest parameter
- 프로그래머스 알고리즘문제
- Collection Framework
- HashMap
- easy javascript algorithm
- spring boot application
- 프로그래머스 알고리즘
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함