mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 15:49:18 +00:00
Update collect_mysql_info in pt-mysql-summary.
This commit is contained in:
@@ -953,7 +953,7 @@ collect_mysql_info () {
|
|||||||
local port="$(get_var port "$dir/mysql-variables")"
|
local port="$(get_var port "$dir/mysql-variables")"
|
||||||
local cnf_file="$(find_my_cnf_file "$dir/mysqld-instances" ${port})"
|
local cnf_file="$(find_my_cnf_file "$dir/mysqld-instances" ${port})"
|
||||||
|
|
||||||
cat "$cnf_file" > "$dir/mysql-config-file"
|
[ -e "$cnf_file" ] && cat "$cnf_file" > "$dir/mysql-config-file"
|
||||||
|
|
||||||
local pid_file="$(get_var "pid_file" "$dir/mysql-variables")"
|
local pid_file="$(get_var "pid_file" "$dir/mysql-variables")"
|
||||||
local pid_file_exists=""
|
local pid_file_exists=""
|
||||||
|
Reference in New Issue
Block a user