I cannot locate pid file for mysql server on oneiric. Opened /etc/mysql/my.cnf and /etc/mysql/debian.cnf but see no settings about pid file. I need this pid file to have monit monitor mysql. Any clue?
Asked
Active
Viewed 337 times
3 Answers
1
It turns out that the pid file is /var/lib/mysql/NODE_NAME.pid, damn it.
![](../../users/profiles/33163.webp)
Phuong Nguyen
- 703
- 1
- 11
- 27
0
You can do: updatedb; locate mysqld.pid
As root. This should show you where the file is.
![](../../users/profiles/47260.webp)
johnshen64
- 5,747
- 23
- 17