![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
ctrl+c ctrl+v
这个作者很懒,什么都没留下…
展开
-
mysql数据库时区问题:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents....
新建mysql数据库实例后无法通过jdbc连接springboot配置数据源启动报错通过网上查找资料,发现是数据库实例的时区问题。mysql默认的是美国的时区,而我们中国大陆要比他们迟8小时,采用+8:00格式解决方法方法1.在语句jdbc:mysql://localhost:3306/hongbao后添加?serverTimezone=GMT%2B8方法2.更改MySQL中的系统...原创 2019-10-29 11:04:19 · 371 阅读 · 0 评论 -
springboot整合redis cluster时启动报Unable to connection to 127.0.0.1:port
redis cluster整合springboot时,nodes配置的是远程redis的ip,但是在启动项目时会报Unable to connection to 127.0.0.1:port跟代码发现问题猜测是根据yml配置中的nodes和connection获取到的集群信息来进行springboot管理的跟代码发现问题从错误行开始跟代码发现有从connection获取到127.0.0.1信息...原创 2019-10-28 16:55:36 · 1220 阅读 · 0 评论