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

点击生成没有反应 #34

Open
siwuxiesss opened this issue Nov 26, 2019 · 2 comments
Open

点击生成没有反应 #34

siwuxiesss opened this issue Nov 26, 2019 · 2 comments

Comments

@siwuxiesss
Copy link

经过测试,在Oracle和MySQL中的表只要有外键关联,就无法生成。
idea版本2019.2.4,MySQL版本5.7.23,Oracle版本11g。
删除.idea文件下的generator-config.xml,问题无法修复。
请尽快修复!谢谢😢

@magicdog
Copy link

magicdog commented Mar 1, 2020

如果使用8.0版本的驱动,需要勾选mysql_8选项,同时url中,补充上useSSL和serverTimeZone参数,例如:jdbc:mysql://localhost:3306/springboot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai

@lybcos
Copy link

lybcos commented Aug 9, 2023

在连接数据库的时候加上这个?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai确实有用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants