I have a Jenkins installation and running mysql server on the same box. One of my jenkins jobs is supposed to tar up the /var/lib/mysql folder but I get the following error
tar: /var/lib/mysql/mysql: Cannot open: Permission denied
I have added the jenkins user to the mysql group but this has not done anything for me.
Does anyone have any ideas?
Thank you for your help