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 340 times
3 Answers
1
It turns out that the pid file is /var/lib/mysql/NODE_NAME.pid, damn it.

Phuong Nguyen
- 703
- 1
- 12
- 27
0
You can do: updatedb; locate mysqld.pid
As root. This should show you where the file is.

johnshen64
- 5,865
- 24
- 17