Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/vhosts/complexity.co.uk/httpdocs/db.php on line 11

Fatal error: Call to undefined function error() in /var/www/vhosts/complexity.co.uk/httpdocs/db.php on line 12