Warning: mysql_pconnect() [function.mysql-pconnect]: Unknown MySQL server host 'sql2' (1) in /home/sennik/www/include/db.inc.php on line 25

Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/sennik/www/include/db.inc.php on line 25

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/sennik/www/include/db.inc.php on line 31

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/sennik/www/include/db.inc.php on line 31

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/sennik/www/include/db.inc.php on line 107

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/sennik/www/include/db.inc.php on line 107
SELECT id, haslo, znaczenie, data FROM sennik ORDER BY DATA desc LIMIT 0,1

blad zapytania :

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)