从错误即可知道是时区的错误,因此只要将时区设置为你当前系统时区即可, 因此使用root用户登录mysql,按照如下图所示操作即可。 show variables like '%time_zone%'; set global time_zone="+8:00"; 系统为北京时区,因此在系统中设置后,再 ...
分类:
其他好文 时间:
2021-03-08 13:09:54
阅读次数:
0
记得关闭日志信息 #日志信息#mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl <?xml version="1.0" encoding="UTF-8"?><configuration sc ...
分类:
编程语言 时间:
2021-03-08 13:05:41
阅读次数:
0
package com.app.frame.ldap; import java.util.Enumeration;import java.util.Hashtable; import javax.naming.Context;import javax.naming.NamingEnumeration ...
分类:
编程语言 时间:
2021-03-08 13:05:28
阅读次数:
0
1-1. var let const 区别 var 是es5语法,有变量提升 let const是es6语法, 有块级作用域 var let 是变量,可修改;cosnt是常量,不可修改 2-1. typeof返回哪些类型 值类型:undefined string number boolean sym ...
分类:
其他好文 时间:
2021-03-08 13:04:03
阅读次数:
0
[云计算]OpenStack All in one 单节点部署(Packstack安装) 1. 虚拟机创建 CentOS 7 最小化版本: https://mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2 ...
分类:
其他好文 时间:
2021-03-05 13:09:01
阅读次数:
0
查看本机的磁盘: [root@jojo ~]# fdisk -l Disk /dev/vda: 42.9 GB, 42949672960 bytes, 83886080 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logic ...
分类:
系统相关 时间:
2021-03-04 13:25:41
阅读次数:
0
1. string 1. 格式化填充 string str = "this {0} a {1}"; Console.WriteLine(string.Format(str, "is", "boy")); // this is a boy 2. 将数据合并成字符串 string[] strArr = ...
C++ primer plus记录 大一学习C++ 拿这本书再巩固一下 仅记录个人有新知的地方 2021-3-2 到ch3为止 ch1 预备知识 C融合三种编程方式:C语言代表的过程性语言;基于C语言添加的OOP;C模板支持的泛型编程 Ch2 进入C++ 作为借口的函数头:main被启动代码调用 名 ...
分类:
编程语言 时间:
2021-03-03 12:01:37
阅读次数:
0
[Git]基本操作 Git的结构 workspace:工作区 staging area:暂存区/缓存区 local repository:版本库或本地仓库 remote repository:远程仓库 基本命令 参考:https://www.cnblogs.com/convict/p/1079532 ...
分类:
其他好文 时间:
2021-03-02 11:45:58
阅读次数:
0
protoc 编译工具 windows 平台下载对应平台的 protobuf,并配置环境变量 protobuf linux 环境先安装依赖 sudo apt-get install autoconf automake libtool curl make g++ unzip git clone htt ...
分类:
其他好文 时间:
2021-02-27 13:31:02
阅读次数:
0