ccqlMySQL 并行客戶端
ccql 是 Github 官方開發(fā)的一個(gè) MySQL 客戶端工具,可以并行支持多個(gè) MySQL 服務(wù)器,相當(dāng)于同時(shí)在多個(gè) MySQL 服務(wù)器上執(zhí)行命令。
用法
Usage of ccql:
-C string
Credentials file, expecting [client] scope, with 'user', 'password' fields. Overrides -u and -p
-H string
Hosts file, hostname[:port] comma or space or newline delimited format. If not given, hosts read from stdin
-Q string
Query/queries input file
-d string
Default schema to use (default "information_schema")
-h string
Comma or space delimited list of hosts in hostname[:port] format. If not given, hosts read from stdin
-m uint
Max concurrent connections (default 32)
-p string
MySQL password
-q string
Query/queries to execute
-s string
List of databases to query from; overrides -d, prints schema name to output
-t float
Connect timeout seconds
-u string
MySQL username (default OS user)評(píng)論
圖片
表情
