查看是否区分大小写 show Variables like '%table_names' 查看lower_case_table_names的值,0代表区分,1代表不区分 修改方法 1.用ROOT登录,修改/etc/my.cnf 2.在[mysqld]下加入一行:lower_case_table_na ...
分类:
数据库 时间:
2021-06-17 17:06:18
阅读次数:
0
1、批量插入 ServiceImpl层 List<Person> addPeople = new ArrayList<>(); //addPeople存放多个Person对象 personMapper.insetPeopleReturnIds(addPeople); Dao层接口(这里的注解para ...
分类:
数据库 时间:
2021-06-17 17:02:57
阅读次数:
0
Linkerd 2.10 系列 快速上手 Linkerd v2 Service Mesh(服务网格) 腾讯云 K8S 集群实战 Service Mesh—Linkerd2 & Traefik2 部署 emojivoto 应用 详细了解 Linkerd 2.10 基础功能,一起步入 Service M ...
分类:
其他好文 时间:
2021-06-17 17:01:48
阅读次数:
0
1:开机同步 开机时自动同步可编辑 /etc/ntp/step-tickers 文件 1 vim /etc/ntp/step-tickers 2 3 # List of NTP servers used by the ntpdate service. 4 5 ntp.aliyun.com 6 tim ...
分类:
其他好文 时间:
2021-06-17 16:54:51
阅读次数:
0
[数据库]MySQL基础知识 参考: MariaDB / MySQL数据类型-阿里云开发者社区 (aliyun.com) MariaDB 教程_w3cschool MySQL 教程 | 菜鸟教程 (runoob.com) MariaDB Server Documentation - MariaDB ...
分类:
数据库 时间:
2021-06-17 16:43:50
阅读次数:
0
函数的定义 # 方式一 start () { echo "nginx start .... [OK]" #return 0 } stop () { echo "nginx stop .... [FAIL]" } # 方式二 function start { echo "nginx start ... ...
分类:
其他好文 时间:
2021-06-17 16:37:05
阅读次数:
0
介绍 Kubernetes Services 是将运行在一组 Pod 上的应用程序公开为网络服务的抽象方法。这一组 Pod 能够被 Service 访问到,通常是通过 Labels 和 Selectors 实现的。 当客户端连接到 Kubernetes Service 时,连接会被负载均衡到支持服务 ...
分类:
Web程序 时间:
2021-06-17 16:33:10
阅读次数:
0
1. redo log的概念是什么? 为什么会存在. 1. redo log是重做日志。主要用于MySQL异常重启后的一种数据恢复手段,确保了数据的一致性。归根到底是MySQL为了实现WAL机制的一种手段。因为MySQL进行更新操作,为了能够快速响应,所以采用了异步写回磁盘的技术,写入内存后就返回。 ...
分类:
数据库 时间:
2021-06-17 16:30:48
阅读次数:
0
mysql 各个版本重要新特性 mysql 5.5:1、支持online ddl2、默认存储引擎为innodb3、引入半同步异步复制(主库在提交事务后,会等待从库反馈收到relay log) mysql 5.6:1、支持gtid复制(备库需log_slave_updates=on开启bin log) ...
分类:
数据库 时间:
2021-06-16 18:25:25
阅读次数:
0
先看下暂时性死区的例子 let a = 1 if (true) { console.log(a) let b = 2 } //输出1 let a = 1 if (true) { console.log(a) let a = 2 } //Uncaught ReferenceError:Cannot a ...
分类:
其他好文 时间:
2021-06-16 18:21:23
阅读次数:
0