« 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 '/tmp/mysqlweb102.sock' (0) 
  Error type/ Nr.: Warning - 2 
  File: /ext1/iplanet/webserver/web146/base_html/site/manager/includes/extenders/dbapi.mysql.class.inc.php 
  Line: 87 
  Line 87 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {  
 
Parser timing
  MySQL: 0.0000 s(0 Requests)
  PHP: 0.0332 s 
  Total: 0.0332 s 
Error while inserting event log into database.