在连接mysql数据库时出错:The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone
这个错误是时区导致的,所以需要在配置连接url后面加上时区:
url=jdbc:mysql://localhost:3309/test?serverTimezone=UTC
其中UTC是统一标准世界时间。
Good code is short, simple, and symmetrical—the challenge is figuring out how to get there