ide版本:IntelliJ IDEA Community Edition 2021.1.3
问题1.安装好ide后发现,ide工具栏没有database,打开view-》Tool windows里面也没有
原因:没有下载database插件
解决:
1.安装database插件
2.重启ide
3.在view-》tool windows --》DB browser即可
问题2:ide配置mysql数据库连接,报错: server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the ‘serverTimezone’ configuration property) to use a more specifc time zone value if you want to utilize time zone support.
原因:系统的时区跟数据库的时区不一致
解决:编辑数据库连接,配置properties,如下 serverTimezone