Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /usr/local/apache/www/htdocs/edumaster.net.pl/include/db.php on line 13

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache/www/htdocs/edumaster.net.pl/include/db.php on line 14

Warning: mysql_db_query(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache/www/htdocs/edumaster.net.pl/include/db.php on line 27

MySQL Error:
Lost connection to MySQL server at 'reading initial communication packet', system error: 111
while executing query:
SELECT * FROM page WHERE layout='main' AND state = 2


Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache/www/htdocs/edumaster.net.pl/include/db.php:13) in /usr/local/apache/www/htdocs/edumaster.net.pl/index.php on line 136