vimLinuxkom raugMySQLCov txheej txheem yuav poob, tab sis lub installation configurationMONIT saib xyuasprogram, uas yuav tsum tau hu uaMySQLCov ntaub ntawv pidfile ntawm cov txheej txheem system, tab sis kuv tsis paub qhov twg yuav nrhiav tau cov ntaub ntawv pidfile, cia nyob ib leeg yuav nrhiav tau cov ntaub ntawv pidfile ntawm MySQL no, yog li kuv qhia rau koj ntawm no!
Ob SSH cov lus txib hauv qab no tuaj yeem saib cov txheej txheem mysql:
ps -ef|grep mysqldwatch -n 1 "ps -ef | grep mysql"
SSH rov qab cov lus nug tau raws li hauv qab no:
root 6206 1 0 16:19 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/centos-ufo.pid
mysql 6280 6206 3 16:19 ? 00:00:22 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/lib/mysql/centos-ufo.err --pid-file=/var/lib/mysql/centos-ufo.pid
root 6691 1844 0 16:29 pts/0 00:00:00 grep mysqldCia siab Chen Weiliang Blog ( https://www.chenweiliang.com/ ) qhia "Qhov twg yog MySQL database txheej txheem pidfile cov ntaub ntawv?Nug MySQL pidfile hais kom ua", nws yuav pab tau koj.
Zoo siab txais tos los qhia qhov txuas ntawm kab lus no:https://www.chenweiliang.com/cwl-438.html
