kugarocks
Come on now follow my lead 🎸🤘

Markdown Finder
Quickly find and copy code snippets from Markdown files. More...
Minichat
Terminal-style chat room. https://minichat.kugarocks.com
About Me
Backend Engineer since 2014, SRE since 2024. Currently working at OSCHINA.
Recently Updated Pages
Env Setup
XCode Develop Tool 输入 git 会弹出软件安装 git Oh My Zsh sh -c "$(curl -fsSL https://raw.githubusercont...
Commands
Get Container Running Containersdocker ps All Containersdocker ps -a Inspect Container docker...
Installation
MySQL Client 到 Oracle 官方 MySQL APT repo 下载配置包(最新版在 2025 之前是 0.8.33 这一支): wget https://dev.mysql....
Replica
Grant User CREATE USER 'repl'@'%' IDENTIFIED BY '123'; GRANT REPLICATION SLAVE, REPLICATION CLI...
Localhost/127/UnixSocket
question这是 MySQL 客户端的默认行为!当你在配置文件中指定 host=localhost 时,MySQL 客户端会自动尝试使用 Unix socket 连接,但如果 Unix s...
SLS
Request URI '/' 分析语法* | select * where request_uri like '/%' and length(request_uri) = 1 扫描模式*...
Latency
Time Cost curl -o /dev/null -s -w" time_namelookup: %{time_namelookup}s\n\ time_connect:...
pt-table-sync
Usage Print Diff pt-table-sync \ --print \ --chunk-size=1000 \ h=master_host,P=3306,u=root...
pt-table-checksum
Installation apt-get -y install percona-toolkit Priviledges 目标库 GRANT SELECT ON foo.* TO 'pttab...
SSH Tunnel
本地端口转发 Localhost 访问本地 http://localhost:8080 会转发到 192.168.x.x 的 localhost:8080。 在本机执行ssh -NL 8080...