锁 根据加锁的范围,MySQL ??的锁?致可以分成全局锁、表级锁和?锁三类 全局锁 全局锁就是对整个数据库实例加锁。MySQL 提供了?个加全局读锁的?法,命令是Flush tables with read lock (FTWRL)。让整个库处于只读状态。全局锁的典型使?场景是,做全库逻辑备份。也 ...
分类:
数据库 时间:
2020-04-01 11:06:55
阅读次数:
81
一、概念 在 Linux 重启之后,会自动启动一些服务和程序。 二、需要自启动的服务和脚本 1. 需要自启动的服务有 vsftpd 和 mysql 2.需要自启动的脚本有 tomcat 三、服务自启动 1.开启 systemctl enable vsftpd.service systemctl en ...
分类:
编程语言 时间:
2020-04-01 11:05:50
阅读次数:
78
yum -y install nginxyum -y i php php-fpm systemctl start nginx systemctl start php-fpm yum install php-bcmathsystemctl reload nginx.servicesystemctl r ...
分类:
Web程序 时间:
2020-03-31 19:25:10
阅读次数:
90
参考 https://data-flair.training/blogs/install-apache-spark-multi-node-cluster/ 下载 spark 地址为 http://spark.apache.org/downloads.html 准备三个节点 192.168.1.1 [ ...
分类:
其他好文 时间:
2020-03-31 19:04:21
阅读次数:
228
https://www.cnblogs.com/hellangels333/p/8376177.html 参考位博主的文章,稍做改动 1.检查mysql数据库存放目录 mysql -u root -prootadmin #进入数据库 show variables like '%dir%'; #查看s ...
分类:
数据库 时间:
2020-03-31 14:38:32
阅读次数:
129
delete from LEAP.工作单回写表 t where 姓名 like '2' #删除表中某些行 alter table LEAP.工作单回写表 drop column 填写人 #删除填写人字段列 alter table LEAP.工作单回写表 add (填写人 varchar2(20)) ...
分类:
其他好文 时间:
2020-03-31 14:03:50
阅读次数:
69
# /etc/profile # System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc # It's NOT a good idea to cha ...
分类:
系统相关 时间:
2020-03-31 12:42:47
阅读次数:
284
最近无意间发现Nginx官方提供了Yum源。因此写个文章记录下。 1、添加源 默认情况Centos7中无Nginx的源,最近发现Nginx官网提供了Centos的源地址。因此可以如下执行命令添加源: sudo rpm -Uvh http://nginx.org/packages/centos/7/n ...
分类:
其他好文 时间:
2020-03-31 10:39:15
阅读次数:
57
New arrived Original Second Hand Mercedes Benz C5 Xentry Connect Most people have used C3 and C4 star for Benz vehicles , i want to recommed our Merce ...
分类:
其他好文 时间:
2020-03-30 21:24:18
阅读次数:
69
1,导入Quartz的依赖包 2,任务调度主要是三个关键点:调度器 任务 触发器 Schedule Job Strigger //创建任务类 1,实现Job接口 2,任务的自定义执行方法(重写) //创建调度器 ScheduleFactory scheduleFactory =new StdSche ...
分类:
其他好文 时间:
2020-03-30 16:21:53
阅读次数:
82