Upgrading processes with yum or apt-get can cause some file permissions to be modified. To fix this issue you just have to modify the owner of the mysqld.log
file to user and group mysql:mysql
, running the following command:
chown mysql:mysql /var/log/mysqld.log