« 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]: [2002] Connection timed out (trying to connect via tcp://u347594.mysql.masterhost.ru:3306) 
  Error type/ Nr.: Warning - 2 
  File: /home/u347594/mirbo.ru/www/admin/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: 31.6168 s 
  Total: 31.6168 s 
Error while inserting event log into database.