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