Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

直接运行main类启动项目,Mysql 的连接出错 #73

Open
S-HuaBomb opened this issue May 25, 2019 · 1 comment
Open

直接运行main类启动项目,Mysql 的连接出错 #73

S-HuaBomb opened this issue May 25, 2019 · 1 comment
Labels
常见问题 经常被问到的一些问题

Comments

@S-HuaBomb
Copy link

运行 main 类 MyBlogApplication,再在浏览器中输入 localhost:28083,就出错了,console 里表示是 SQLException 的错误。

@S-HuaBomb
Copy link
Author

我解决了,是MySQL的时间域(time zone)问题,直接在数据库 url 的数据库名后面加上 ?serverTimezone=GMT 就行了

@ZHENFENG13 ZHENFENG13 pinned this issue Sep 4, 2019
@ZHENFENG13 ZHENFENG13 added the 常见问题 经常被问到的一些问题 label Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
常见问题 经常被问到的一些问题
Projects
None yet
Development

No branches or pull requests

2 participants