MySQL connect error: (2002) Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

Warning: error_log(/home/freesia/public_html/rouoz.gov.ua/adm/log/phperrors.log) [function.error-log]: failed to open stream: Read-only file system in /home/freesia/public_html/rouoz.gov.ua/adm/common_lib.php on line 50