« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 
  Error type/ Nr.: Warning - 2 
  File: /home/.sites/117/site84/web/manager/includes/extenders/dbapi.mysql.class.inc.php 
  Line: 85 
  Line 85 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd))) {  
 
Parser timing
  MySQL: 0.0000 s s(0 Requests)
  PHP: 0.0183 s s 
  Total: 0.0183 s s