mysql时区错误问题及命令行登录mysql方法 mysql运行报The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone的解决方法

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的解决方法

猜你喜欢

转载自www.cnblogs.com/yangai/p/9921122.html
今日推荐