首页 > 技术文章 > mysql时区错误问题及命令行登录mysql方法

yangai 2018-11-07 10:35 原文

spring boot运行报错误信息“The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone”

解决方法:

1.先命令行登录mysql:

    管理员打开cmd,输入net start mysql

    然后切换到mysql的bin目录,输入mysql -hlocalhost -uroot -p

2.就可以改时区了

mysql运行报The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone的解决方法

 

推荐阅读