1、编写脚本,支持让用户自主选择,使用mysqldump还是xtraback全量备份。 [root@test-centos7-node1 scripts]# cat chose_backup_mysql.sh #!/bin/bash # #****************************** ...
分类:
数据库 时间:
2020-01-14 09:35:18
阅读次数:
93
ERROR 3869 (HY000): Clone system configuration: innodb_data_file_path: Recipient file count: 1 is less than Donor file count.
分类:
其他好文 时间:
2020-01-12 13:16:49
阅读次数:
95
在jiava中InputStream跟OutputStream分别代表输入流跟输出流,接下来来看一下IO的相关操作 首先来看一下如何操作文件 import java.io.File; import java.io.FilenameFilter; import java.nio.file.Path; ...
分类:
编程语言 时间:
2020-01-09 20:51:29
阅读次数:
86
"更多" perl !/usr/bin/perl 在windows获取当前的桌面壁纸 See also: https://www.winhelponline.com/blog/find current wallpaper file path windows 10/ use v5.26; use st ...
Mock方法内部new出来的对象 测试目标代码: 01 public class ClassUnderTest { 02 03 public boolean callInternalInstance(String path) { 04 05 File file = new File(path); 0 ...
分类:
其他好文 时间:
2020-01-05 18:51:43
阅读次数:
273
1.安装node.js 2.新建空文件夹,输入npm init -y,生成package.json文件 3. npm install -D webpack webpack-cli 4.新建三个文件夹src、out、config 5.在config文件夹下新建webpack.config.js文件 c ...
分类:
Web程序 时间:
2020-01-03 00:59:05
阅读次数:
135
unittest中加载测试用例的方法很多,这里先介绍addTest中添加用例-测试类的实例的方式: import os import unittest # 创建suite对象 suite = unittest.TestSuite() # 第一种方法:一个一个添加用例 from class1228_u ...
分类:
编程语言 时间:
2020-01-02 09:31:53
阅读次数:
97
enigmavb vitual folder https://enigmaprotector.com/assets/files/enigmavb.exe File Path - points to the real file that will be embedded. This file must ...
分类:
其他好文 时间:
2019-12-27 11:37:21
阅读次数:
62
原题链接在这里:https://leetcode.com/problems/longest-absolute-file-path/ 题目: Suppose we abstract our file system by a string in the following manner: The str ...
分类:
其他好文 时间:
2019-12-27 09:20:20
阅读次数:
60
zsql user/pasword@ip:port -c "show databases" # 展示一条sql语句 spool file_path 指定输出文件 可以为相对路径 spool off 保存执行结果 并关闭输出流 gsql 配置数据库服务器 gs_guc reload -Z coordi ...
分类:
数据库 时间:
2019-12-23 13:42:29
阅读次数:
115