opscode-cookbooks/mysql — pull request #177 by eviltnan (2014-04-03 09:00:46+00:00)
Title: Added workaround for pid file path for my.cnf template for ubuntu

While using the cookbook on precise (64 or 32), the mysql daemon can't start, because it can't create the pid file after reboot: /var/run/mysql does not exists after reboot, as much as it is symlinked with tmpfs.

I've found workaround for that, fix it more properly if needed.
Note also that standard apparmor template does not have /var/run/mysql path, which could be also a bug.