mybatis 插件碰到的时区问题和用法

 

 连接数据库 mysql -hlocalhost -uroot -p,回车,输入密码,回车,

 

 show variables like'%time_zone';    (注意不要漏掉后面的分号),回车

 

 

  设置时区 set time_zone = '+8:00';

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

posted @ 2020-07-30 16:15  杨超越的歌迷  阅读(973)  评论(0编辑  收藏  举报