admin管理员组

文章数量:1626246

 1.File-Settings-Plugins勾选Database Navigator

2.安装重启PyCharm菜单栏里多了DB Navigator菜单,同时出现DB browser栏。选择+建立新的连接

 

 可以连接Oracle、MySQL、PostgreSQL、SQLite等类型数据库,这里以MySQL数据库为例

点连接可能出现如下提示“DB Navigator - Connection error unrecognized or represents more than one time zone.You must configure..."

解决:
①打开DB Navigator界面;
②配置自己要连接数据库的基本信息;
③在Properties中设置时区,点击加号,新增一栏,Property为serverTimezone,value为Asia/Shanghai;

 

 成功啦!

Cannot connect to “xxxxx”.
The 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.
————————————————
版权声明:本文为CSDN博主「Silver.Bullet」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn/weixin_44084024/article/details/120269918

本文标签: 数据库工具社区Communitypycharm