查看当前mysql隔离级别 mysql> show variables like 'tx_isolation' 设置隔离级别 mysql> set global transaction isolation level read committed; global 和session 这是两个作用域,g ...
分类:
数据库 时间:
2021-03-02 12:12:13
阅读次数:
0
一。 查看Mysql当前配置 MySQL 默认的最大连接数为 100,可以在 mysql 客户端使用以下命令查看 mysql> show variables like '%connections'; 此命令将得到类似以下的输出结果: + + +| Variable_name | Value |+ + ...
分类:
数据库 时间:
2021-03-02 12:04:36
阅读次数:
0
1.定时任务 crontab -e s m h d month w cmd 2.任务后台执行 command & 3.查看进程 ps -ef|grep prcss 4.杀死进程 kill -9 pid 5.服务状态 service prcss_name status|start|stop|resta ...
分类:
系统相关 时间:
2021-03-01 14:17:23
阅读次数:
0
问题:已配置好桥接模式,虚拟机和本机能够相互ping通的情况下,Apache上发布的网站可以在虚拟机上访问,但无法在本机上访问。 1、为了能够远程访问服务器的网页,要确保Apache服务httpd运行中 查看http的服务状态:service http的 status 开启httpd服务:servi ...
分类:
Web程序 时间:
2021-03-01 13:51:11
阅读次数:
0
InfluxDB操作 1. 显示数据库 > show databases > create database test > drop database test 2. 显示说有表 > show measurements InfluxDB数据备份和恢复 备份元数据 1、influxd backup - ...
分类:
数据库 时间:
2021-03-01 13:29:57
阅读次数:
0
1.change master to 时,ip port user password binlog position写入到master.info进行记录 2. start slave 时,从库会启动IO线程和SQL线程 3.IO_T,读取master.info信息,获取主库信息连接主库 4. 主库会 ...
分类:
数据库 时间:
2021-03-01 13:26:00
阅读次数:
0
A 跑步 题目大意 : * Code Show Code #include <cstdio> #include <algorithm> using namespace std; const int N = 2005; int read(int x = 0, int f = 1, char c = g ...
分类:
其他好文 时间:
2021-03-01 13:16:23
阅读次数:
0
call plug#begin('~/.vim/plugged')""Plug 'itchyny/lightline.vim'"Plug 'Yggdroot/LeaderF', { 'dir': '~/LeaderF', 'do': './install --all' }" Plug 'junegu ...
分类:
系统相关 时间:
2021-03-01 13:04:40
阅读次数:
0
CentOS7 的防火墙配置跟以前版本有很大区别,CentOS7这个版本的防火墙默认使用的是firewall,与之前的版本Centos 6.x使用iptables不一样 一、iptables防火墙 1、基本操作 查看防火墙状态 service iptables status 停止防火墙 servic ...
分类:
系统相关 时间:
2021-02-27 13:22:40
阅读次数:
0
1. 现实背景 现有 4 台主机,均能够自动地采集数据,并存入其 MySQL 数据库中,另有 1 台专门用于处理数据的高配置主服务器。这 5 台机器经常不在同一个网段下,但希望,一旦处于同一个网段下时,4 台用于采集数据的主机能够自动地向主服务器汇集数据,为此配置环境。 2. 术语约定 slave, ...
分类:
数据库 时间:
2021-02-27 12:57:43
阅读次数:
0