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 mysqld
watch -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 mysqld
Cia 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
Zoo siab txais tos rau Telegram channel ntawm Chen Weiliang blog kom tau txais qhov hloov tshiab tshiab!
📚 Daim ntawv qhia no muaj nuj nqis loj, 🌟Qhov no yog lub sijhawm tsis tshua muaj, tsis txhob nco nws! ⏰⌛💨
Share thiab like yog tias koj nyiam!
Koj qhov kev sib koom thiab kev nyiam yog peb qhov kev txhawb nqa tas mus li!