Fresh install of CentOS 6.7 and latest CPanel.
Initially found that 'localhost' could not be used in web configs, started digging and discovered static IP could. Kept digging, found root cause. /var/lib/mysql/mysql.sock has 755 permissions which makes everything fail. I have to manually go and change it to 777 for systems to operate.
> service mysql restart
Reverts the mysql.sock back to 755, how to fix this? I have followed the general guides with /tmp folder etc, nothing seems to keep it at 777 after a mysql restart.
Initially found that 'localhost' could not be used in web configs, started digging and discovered static IP could. Kept digging, found root cause. /var/lib/mysql/mysql.sock has 755 permissions which makes everything fail. I have to manually go and change it to 777 for systems to operate.
> service mysql restart
Reverts the mysql.sock back to 755, how to fix this? I have followed the general guides with /tmp folder etc, nothing seems to keep it at 777 after a mysql restart.