Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/diariode/public_html/database/crud.php on line 4

Fatal error: Call to undefined function mysqlerror() in /home/diariode/public_html/database/crud.php on line 9