---
title: "mysql运行报The server time zone value 'ÖÐ¹ú±ê×¼Ê±¼ä'"
author: "mwhgJava"
date: "2019-01-02T15:37:30Z"
tags: []
categories: ["数据库"]
slug: "mysql-the-server-time-zone-value"
draft: false
lastmod: "2019-01-02T15:37:30Z"
id: 2435998
url: "https://mwhgjava.iteye.com/blog/2435998"
---

<https://www.cnblogs.com/ljy-20180122/p/9157912.html>



mysql运行报The server time zone value 'ÖÐ¹ú±ê×¼Ê±¼ä' is unrecognized or represents more than one time zone的解决方法
  话不多说，从错误即可知道是时区的错误，因此只要将时区设置为你当前系统时区即可，

   因此使用root用户登录mysql，按照如下图所示操作即可。

       
show variables like '%time_zone%';

set global time_zone='+8:00';



     我电脑的系统为北京时区，因此在系统中设置后，再连接数据库运行，一切OK！