PHP 5.3.3-7+squeeze15

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /www/htdocs/hosting/urnik/adodb/drivers/adodb-mysql.inc.php on line 365 Connect Failed
ADODB_Exception Object
(
    [dbms] => mysql
    [fn] => CONNECT
    [sql] => 
    [params] => 
    [host] => localhost
    [database] => northwind
    [message:protected] => mysql error: [2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)] in CONNECT(localhost, 'root', '****', northwind)

    [string:Exception:private] => 
    [code:protected] => 2002
    [file:protected] => /www/htdocs/hosting/urnik/adodb/adodb-exceptions.inc.php
    [line:protected] => 78
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /www/htdocs/hosting/urnik/adodb/adodb.inc.php
                    [line] => 540
                    [function] => adodb_throw
                    [args] => Array
                        (
                            [0] => mysql
                            [1] => CONNECT
                            [2] => 2002
                            [3] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                            [4] => localhost
                            [5] => northwind
                            [6] => ADODB_mysql Object
                                (
                                    [databaseType] => mysql
                                    [dataProvider] => mysql
                                    [hasInsertID] => 1
                                    [hasAffectedRows] => 1
                                    [metaTablesSQL] => SHOW TABLES
                                    [metaColumnsSQL] => SHOW COLUMNS FROM `%s`
                                    [fmtTimeStamp] => 'Y-m-d H:i:s'
                                    [hasLimit] => 1
                                    [hasMoveFirst] => 1
                                    [hasGenID] => 1
                                    [isoDates] => 1
                                    [sysDate] => CURDATE()
                                    [sysTimeStamp] => NOW()
                                    [hasTransactions] => 
                                    [forceNewConnect] => 
                                    [poorAffectedRows] => 1
                                    [clientFlags] => 0
                                    [substr] => substring
                                    [nameQuote] => `
                                    [compat323] => 
                                    [_genIDSQL] => update %s set id=LAST_INSERT_ID(id+1);
                                    [_genSeqSQL] => create table %s (id int not null)
                                    [_genSeqCountSQL] => select count(*) from %s
                                    [_genSeq2SQL] => insert into %s values (%s)
                                    [_dropSeqSQL] => drop table %s
                                    [database] => northwind
                                    [host] => localhost
                                    [user] => root
                                    [password] => 
                                    [debug] => 
                                    [maxblobsize] => 262144
                                    [concat_operator] => +
                                    [length] => length
                                    [random] => rand()
                                    [upperCase] => upper
                                    [fmtDate] => 'Y-m-d'
                                    [true] => 1
                                    [false] => 0
                                    [replaceQuote] => \'
                                    [charSet] => 
                                    [metaDatabasesSQL] => 
                                    [uniqueOrderBy] => 
                                    [emptyDate] =>  
                                    [emptyTimeStamp] =>  
                                    [lastInsID] => 
                                    [hasTop] => 
                                    [readOnly] => 
                                    [genID] => 0
                                    [raiseErrorFn] => adodb_throw
                                    [cacheSecs] => 3600
                                    [memCache] => 
                                    [memCacheHost] => 
                                    [memCachePort] => 11211
                                    [memCacheCompress] => 
                                    [arrayClass] => ADORecordSet_array
                                    [noNullStrings] => 
                                    [numCacheHits] => 0
                                    [numCacheMisses] => 0
                                    [pageExecuteCountRows] => 1
                                    [uniqueSort] => 
                                    [leftOuter] => 
                                    [rightOuter] => 
                                    [ansiOuter] => 
                                    [autoRollback] => 
                                    [fnExecute] => 
                                    [fnCacheExecute] => 
                                    [blobEncodeType] => 
                                    [rsPrefix] => ADORecordSet_
                                    [autoCommit] => 1
                                    [transOff] => 0
                                    [transCnt] => 0
                                    [fetchMode] => 
                                    [null2null] => null
                                    [_oldRaiseFn] => 
                                    [_transOK] => 
                                    [_connectionID] => 
                                    [_errorMsg] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
                                    [_errorCode] => 
                                    [_queryID] => 
                                    [_isPersistentConnection] => 
                                    [_bindInputArray] => 
                                    [_evalAll] => 
                                    [_affected] => 
                                    [_logsql] => 
                                    [_transmode] => 
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /www/htdocs/hosting/urnik/adodb/tests/test-php5.php
                    [line] => 33
                    [function] => Connect
                    [class] => ADOConnection
                    [type] => ->
                    [args] => Array
                        (
                            [0] => localhost
                            [1] => root
                            [2] => 
                            [3] => northwind
                        )

                )

        )

    [previous:Exception:private] => 
    [msg] => Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
)