Comment 3 for bug 1434022

Revision history for this message
Patrick McConnell (j-patrick) wrote :

Also when you mentioned the server pid, are you referring to mysqld_status watching for the pid file? If so, I see a couple of problems with this:

- I don't see the pid file showing up until after the server has started (specifically, until after the log shows "ready for connections"), which in our case means the pid file doesn't exist until after the 10sec loop is finished and the init script has exited.

- mysqld_get_param doesn't know what our pid file is unless I specify it in my.cnf, and even then, I need to specify it as pid-file and not pid_file (i.e. hyphen and not underscore). If I don't specify it in my.cnf at all, it doesn't show up in mysqld --print-defaults. If I specify it as pid_file then mysqld_get_param still doesn't find an option called pid-file. In both cases mysqld_status doesn't end up knowing the name of the pid file.