摘要:1. mysql --help -h : ip/host -u : 用户名 -p : 密码 -P : 端口 -D : 指定库 -e : 指定sql语句 -t : 查询结果按表格展示 -c, --comments : Preserve comments. Send comments to the se
阅读全文
03 2020 档案
摘要:1. mysql --help -h : ip/host -u : 用户名 -p : 密码 -P : 端口 -D : 指定库 -e : 指定sql语句 -t : 查询结果按表格展示 -c, --comments : Preserve comments. Send comments to the se
阅读全文
摘要:#查询是否锁表 show OPEN TABLES where In_use > 0; #查看所有进程 show processlist #kill kill 288607; #查看正在锁的事务 SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCKS;
阅读全文
|