mysqlslave状态如下,发现IO线程为NO状态,并且报1236错误代码mysql>showslavestatus\G
***************************1.row***************************
Slave_IO_State:
Master_Host:10.0.0.20
Master_User:rep
Master_Port:3307
Connect_Retry:60
Master_Log_File:mysql-bi..
分类:
数据库 时间:
2017-08-07 17:35:02
阅读次数:
202
2017 UESTC Training for Math A sg博弈水题 #include<bits/stdc++.h> using namespace std; #pragma comment(linker, "/STACK:102400000,102400000") #define rep(i ...
分类:
其他好文 时间:
2017-08-06 14:12:16
阅读次数:
219
const int G=3; ll c[maxn],d[maxn],tmp[maxn],wn[maxn]; void getwn(int len) { wn[0]=1; wn[1]=qpow(G,(mod-1)/len); int i; rep(i,2,len) wn[i]=wn[i-1]*wn[1 ...
分类:
其他好文 时间:
2017-08-03 11:14:51
阅读次数:
118
To add NGINX yum repository, create a file named /etc/yum.repos.d/nginx.repo and paste one of the configurations below: CentOS: [nginx] name=nginx rep ...
分类:
其他好文 时间:
2017-07-28 15:48:32
阅读次数:
111
JS正则 -test 判断字符串是否符合规定的正则表达式 -exec 获取匹配的数据 test的例子: 从上述的例子我们可以看出,如果rep.test匹配到了就返回true,否则返回false exec的例子 上述匹配的结果是一个数组,但是不管匹配几次都只显示第一个 正则中的分组 全局匹配 没有分组 ...
分类:
Web程序 时间:
2017-07-27 18:27:36
阅读次数:
330
#request_reply_processes.py
importzmq
importtime
importsys
frommultiprocessingimportProcess
defserver(port="5556"):
context=zmq.Context()
socket=context.socket(zmq.REP)
socket.bind("tcp://*:%s"%port)
print"Runningserveronport:",port
#servesonly5requestandd..
分类:
其他好文 时间:
2017-07-25 00:59:38
阅读次数:
172
1、 创建复制用户,具有replication slave 权限,能保证slave把master的数据同步过去 master: #grant replication slave on *.* to 'rep'@'192.168.10.100' identified by '123456'; mast ...
分类:
数据库 时间:
2017-07-24 21:26:28
阅读次数:
159
<style> .text{ border:solid 2px #ccc; width:400px; height:40px; background:url(http://d.lanrentuku.com/down/png/1211/blueberry/user_friend.png) no-rep ...
分类:
其他好文 时间:
2017-07-24 17:33:56
阅读次数:
116
You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be rep ...
分类:
其他好文 时间:
2017-07-22 11:00:41
阅读次数:
165
题目链接 课程学分总数 很基础的树型DP。注意输入数据可能是森林而不是完整的一棵树。 题目链接 课程学分总数 那么给所有没有祖先的点加一个公共的根就好了。 #include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for ( ...
分类:
其他好文 时间:
2017-07-20 21:00:24
阅读次数:
190