MySQL database txheej txheem pidfile cov ntaub ntawv nyob qhov twg?Query MySQL pidfile hais kom ua

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

评论 评论

Koj email chaw nyob yuav tsis raug luam tawm. Yuav tsum tau siv cov liaj teb * Ntaus Cim

Scroll rau saum