Friday, October 26, 2012

[ERROR] Can't start server : Bind on unix socket: Permission denied

chown mysql:mysql /var/lib/mysql
chown mysql:mysql /var/lib/mysql/*
chmod 660 /var/lib/mysql/*
chown mysql:mysql /var/lib/mysql/mysql
chmod 700 /var/lib/mysql/mysql
chown mysql:mysql /var/lib/mysql/mysql/*
chmod 660 /var/lib/mysql/mysql/


restorecon -Rv /var/lib/mysql

0 comments: