2022年1月25日

xshell xftp 免费家庭版下载

摘要: https://www.xshell.com/zh/free-for-home-school/ 阅读全文

posted @ 2022-01-25 18:28 一二三· 阅读(36) 评论(0) 推荐(0) 编辑

2022年1月6日

时间同步

摘要: sudo date -s "$(curl http://s3.amazonaws.com -v 2>&1 | grep "Date: " | awk '{ print $3 " " $5 " " $4 " " $7 " " $6 " GMT"}')" 资料来源 https://askubuntu.c 阅读全文

posted @ 2022-01-06 14:51 一二三· 阅读(53) 评论(0) 推荐(0) 编辑

2021年9月13日

linux多个文件压缩打包到一个压缩文件

摘要: 多个文件压缩打包 tar czvf nginx.tar ./* 阅读全文

posted @ 2021-09-13 11:26 一二三· 阅读(813) 评论(0) 推荐(0) 编辑

2021年6月11日

redis超时排查

摘要: http://redisbook.com/preview/slowlog/content.html (integer) 4 # 日志的唯一标识符(uid) (integer) 1378781447 # 命令执行时的 UNIX 时间戳 (integer) 180667 # 命令执行的时长,以微秒计算 阅读全文

posted @ 2021-06-11 09:36 一二三· 阅读(70) 评论(0) 推荐(0) 编辑

2021年6月8日

mysqll物理迁移

摘要: 物理迁移 如此简单 阅读全文

posted @ 2021-06-08 19:29 一二三· 阅读(82) 评论(0) 推荐(0) 编辑

2021年6月3日

mysql常见报错

摘要: https://www.cnblogs.com/hongzuiliyu/p/13258336.html 阅读全文

posted @ 2021-06-03 16:44 一二三· 阅读(28) 评论(0) 推荐(0) 编辑

Can't find record in 'cbi_user_bu', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND;

摘要: STOP SLAVE; SET GLOBAL sql_slave_skip_counter =1; # 拨针,跳过这一个错误 START SLAVE; 阅读全文

posted @ 2021-06-03 13:57 一二三· 阅读(423) 评论(0) 推荐(0) 编辑

Duplicate entry '...' for key 'PRIMARY

摘要: 如果报错 Duplicate entry '40741' for key 'PRIMARY 主从同步的话 这个报错是主键重复,删掉从库的这条就可以了,比如这台是40741,然后stop slave,start slave; 阅读全文

posted @ 2021-06-03 13:55 一二三· 阅读(586) 评论(0) 推荐(0) 编辑

查看mysql是否还有人在用

摘要: select TABLE_NAME,UPDATE_TIME from INFORMATION_SCHEMA.tables where TABLE_SCHEMA='cbi_admin'; select TABLE_NAME,UPDATE_TIME from INFORMATION_SCHEMA.tab 阅读全文

posted @ 2021-06-03 11:30 一二三· 阅读(209) 评论(0) 推荐(0) 编辑

2021年5月18日

授权普通用户所有访问权限

摘要: 创建新用户: create user 'user01'@'127.0.0.1' identified by 'cssss@!'; create user 'user01'@'%' identified by 'cssss@!'; grant all privileges on *.* to 'cbi 阅读全文

posted @ 2021-05-18 16:14 一二三· 阅读(106) 评论(0) 推荐(0) 编辑

导航