Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/mdtv/public_html/common/classes/adodb/drivers/adodb-mysql.inc.php on line 358

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/mdtv/public_html/common/classes/adodb/drivers/adodb-mysql.inc.php on line 499
      ADOConnection._Execute(SELECT p.total_favorites,p.total_views, p.total_comments, p.video_album_id, p.total_downloads, p.video_ext, p.allow_comments,p.v...) % line  834, file: adodb.inc.php
   ADOConnection.Execute(SELECT p.total_favorites,p.total_views, p.total_comments, p.video_album_id, p.total_downloads, p.video_ext, p.allow_comments,p.v..., Array[2]) % line 1207, file: viewVideo.php
ViewVideo.chkValidVideoId() % line 6001, file: viewVideo.php
require_once(/home/mdtv/public_html/general/viewVideo.php) % line   46, file: viewVideo.php

Fatal error: 2002 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/mdtv/public_html/general/viewVideo.php on line 1209