public static void CreateFile(String src,String des){ String path1="D:\\test\\data\\"+src; String path2="D:\\test\\res\\"+des; File file1=new File(pat ...
分类:
编程语言 时间:
2017-09-14 10:51:27
阅读次数:
341
server_id server_uuid relay_log io_thread 读取过来的本地日志。 relaylog文件名前缀,可以是全路径。 relay_log_index relaylog索引文件前缀名,和realy_log一样,也可以是fullpath. 不可动态修改。 read_onl ...
分类:
其他好文 时间:
2017-09-14 00:47:30
阅读次数:
211
xtrabackup支持的engine 1.InnoDB/XtraDB Hot backup 2.MyISAM with read-lock 3.Archive,CSV with read-lock with read-lock ...
分类:
其他好文 时间:
2017-09-14 00:44:09
阅读次数:
124
查看master复制状态: show mster status\G; 查看slave复制状态: show slave status\G; 查看slave复制状态: show slave status\G; 开始复制: start slave; 停止复制: stop slave; 针对复制线程开启、关 ...
分类:
其他好文 时间:
2017-09-14 00:42:00
阅读次数:
155
后台进程默认有15个。 1.master thread(1个)。 2.IO thread (1)read/write thread(8个,默认各4个) (2)insert buffer thread(1个) (3)log io thread(1个) 3.lock monitor thread(1个) ...
分类:
系统相关 时间:
2017-09-14 00:38:20
阅读次数:
245
cmake软件 tar -zxvf cmake-2.8.8.tar.gz cd cmake-2.8.8 ./bootstrap make && make install 依赖包 yum install ncurses-devel -y yum install pcre pcre-devel -y y ...
分类:
数据库 时间:
2017-09-14 00:37:47
阅读次数:
265
一、拥有原来的myql的root的密码;方法一: 在mysql系统外,使用mysqladmin # mysqladmin -u root -p password "test123" Enter password: 【输入原来的密码】 方法二: 通过登录mysql系统, mysql> use mysq ...
分类:
数据库 时间:
2017-09-14 00:33:37
阅读次数:
213
--add-drop--database 在每个CREATE DATABASE语句前添加DROP DATABASE语句。 --add-drop-tables 在每个CREATE TABLE语句前添加DROP TABLE语句。 --add-locking 用LOCK TABLES和UNLOCK TAB ...
分类:
数据库 时间:
2017-09-14 00:29:52
阅读次数:
323
继承允许我们根据一个类来定义另一个类,这使得创建和维护应用程序变得更容易。同时也有利于重用代码和节省开发时间。 当上面的代码被编译和执行时,它会产生下列结果: 基类的初始化 派生类继承了基类的成员变量和成员方法。因此父类对象应在子类对象创建之前被创建。您可以在成员初始化列表中进行父类的初始化。 下面 ...
[Usaco2014 Mar]Sabotage 题目 Farmer John"s arch-nemesis, Farmer Paul, has decided to sabotage Farmer John"s milking equipment! The milking equipment con ...
分类:
其他好文 时间:
2017-09-13 22:10:33
阅读次数:
186