源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  PHPStorm连接MySql时提示错误:java.sql.SQLException: The server time zone value ‘xx time’ is unrecognized

PHPStorm连接MySql时提示错误:java.sql.SQLException: The server time zone value ‘xx time’ is unrecognized

分类: 文章 • 2024-03-13 12:56:33

PHPStorm连接MySql时提示错误:java.sql.SQLException: The server time zone value ‘xx time’ is unrecognized

解决方案:

1.找到MySQL的配置文件,my.ini或者my.cnf,一般在MySQL的安装目录下面;

   然后为default time zone赋值,如下图,保存后,重启MySQL, PHPStorm就可以成功连接了;

PHPStorm连接MySql时提示错误:java.sql.SQLException: The server time zone value ‘xx time’ is unrecognized

相关推荐

  • MyEclipse2016 连接 MySql8.0时有关于ERROR: The server time zone value '�й�׼' is unrecognized or represents
  • Spring boot连接mysql进行增删改查时出现时区问题:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represe
  • PHPStorm连接MySql时提示错误:java.sql.SQLException: The server time zone value ‘xx time’ is unrecognized
  • Java连接MySQL时错误The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than ....
  • JVM性能优化入门指南
  • SpringBoot报错:java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号