pgrep will not be able to get th pid using the full path which is $libexec/mysqld unless -f is being used
Attach a file by drag & drop or click to upload