10 2017 档案
摘要:GeorgeHao 安装过程: [root@localhost-centos6 ~]# wget percona.com/get/pt-query-digest [root@localhost-centos6 ~]# chmod u+x pt-query-digest [root@localhost
阅读全文
摘要:https://www.zhihu.com/question/31861301 重复加载问题 http://www.jianshu.com/p/12aa901bee1f?from=timeline
阅读全文
摘要:进入mysql的user表,插入一个用户为root'@'localhost的用户
阅读全文
摘要:1:设置mysql的配置文件 /etc/mysql/my.cnf 找到 bind-address =127.0.0.1 将其注释掉;//作用是使得不再只允许本地访问; 重启mysql:/etc/init.d/mysql restart; 2:登录mysql数据库:mysql -u root -p m
阅读全文
摘要:1。这里只写备份mysql的数据库的方法,全备份,包括定时删除。 准备工作,弄一个文件夹存数据库备份数据 第一步:编写shell 脚本,命名为shell.sh 第二步: 给定执行权限 第三步: 写到crontab 中 第四步:重启crontab 服务,使其生效。 完美~~~
阅读全文
摘要:进程->端口监听->查阿里云端口开放->看防火墙 ps -ef | grep redis ->netstat -an |grep redis->安全组设置端口放行规则->关闭防火墙-> 打开cmd->telnet ip port
阅读全文
摘要:读: 读redis->没有,读mysql->把mysql数据写回redis 写: 写mysql->成功,写redis(捕捉所有mysql的修改,写入和删除事件,对redis进行操作)
阅读全文
摘要:http://blog.csdn.net/miltonzhong/article/details/48089415
阅读全文
摘要:http://www.cnblogs.com/xiaoMzjm/p/5223799.html
阅读全文
摘要:1、 show variables like 'log_slow_queries'; 查看是否开启mysql慢查询日志 2、Linux下启用MySQL慢查询 MySQL在Windows系统中的配置文件一般是是my.cnf找到[mysqld]下面加上 代码如下 超过2秒就记录 log-slow-que
阅读全文
摘要:find / -name httpd.conf #在根目录下查找文件httpd.conf,表示在整个硬盘查找
阅读全文
摘要:https://teddysun.com/342.html 加速 wget –no-check-certificate https://github.com/teddysun/across/raw/master/bbr.shchmod +x bbr.sh./bbr.sh
阅读全文
摘要:https://segmentfault.com/q/1010000002972327
阅读全文
摘要:http://open.weibo.com/wiki/Error_code
阅读全文