I recently upgraded mySQL to 5.5 on my Centos box. It failed on restart as some of the files had taken root ownership instead of being owned by mysql user/group. Its working now, after 30 mins of blind terror I managed to get it back online, however there are some files that are still owned by root, and I'm wondering what side effects this may have, or if its even abnormal.
These files are within the mysql directory:
drwx------ 2 mysql root 4096 Nov 26 06:07 test/
drwx------ 2 root root 4096 Nov 26 06:07 performance_schema/
Should I change owenership of thse? if so what user/group should they be? and also, how did this upgrade go so bad in the first place? I used the upgrade tool in WHM.