zoukankan      html  css  js  c++  java
  • MySQL报错:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.

     

    错误:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.
        服务器返回无效时区。转到“高级”选项卡并手动设置“serverTimezone”属性。

    mysql -u root -p

    mysql>show variables like '%time_zone%';

    mysql>set global time_zone='+8:00';

    问题:每次重启服务都要重新配置一遍。

    解决:mysql>set persist time_zone='+8:00';

  • 相关阅读:
    leetcode-409
    leetcode-836
    leetcode-1160
    leetcode-面试题13
    leetcode-695
    go的一些小lib
    leetcode-300
    cookie
    php上传文件
    PHP 文件创建/写入
  • 原文地址:https://www.cnblogs.com/qqfff/p/12524505.html
Copyright © 2011-2022 走看看