使用DataGrip连接本地数据库时报错:
Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.
解决方案:添加下列内容即可
jdbc:mysql://localhost:3306?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC