Iphi ifayile yepidfile yedatha yeMySQL?Cela MySQL pidfile umyalelo

ngenxa yeLinuxngokucwangcisiweyoMySQLInkqubo iya konakala, kodwa uqwalaselo lofakeloMONIT esweniinkqubo, ekufuneka ibizweMySQLIfayile yepidfile yenkqubo yenkqubo, kodwa andazi ukuba ndingayifumana phi ifayile yepidfile, ndiyeke indlela yokufumana ifayile yepidfile yale MySQL, ke ndiyabelana nawe apha!

Le miyalelo mibini ilandelayo ye-SSH inokujonga inkqubo ye-mysql:

ps -ef|grep mysqld

watch -n 1 "ps -ef | grep mysql"

I-SSH ibuyisela iziphumo zombuzo ngolu hlobo lulandelayo:

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

Ndiyathemba Chen Weiliang Blog ( https://www.chenweiliang.com/ ) ekwabelwana ngayo "Iphi ifayile yefayile yepidfile yedatha yeMySQL?Query MySQL pidfile command", iya kukunceda.

Wamkelekile ukwabelana ngekhonkco leli nqaku:https://www.chenweiliang.com/cwl-438.html

Wamkelekile kwisitishi seTelegram sebhlog kaChen Weiliang ukufumana uhlaziyo lwamva nje!

🔔 Yiba ngowokuqala ukufumana iSikhokelo sokuSetyenziswa kweSixhobo se-"ChatGPT yeNtengiso ye-AI" kuluhlu oluphezulu lwetshaneli! 🌟
📚 Esi sikhokelo sinexabiso elikhulu, 🌟Eli lithuba elinqabileyo, ungaliphoswa! ⏰⌛💨
Yabelana kwaye uthanda ukuba uyathanda!
Ukwabelana kwakho kunye nezinto ozithandayo ziyinkuthazo yethu eqhubekayo!

 

Shiya uluvo

Idilesi ye-imeyile ayizukupapashwa. Iinkalo ezifunekayo zisetyenzisiwe * Ileyibheli

skrolela phezulu