Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 in /libs/includes/db.inc.php on line 24

Notice: Undefined offset: 1 in /libs/includes/db.inc.php on line 24

Notice: Undefined offset: 1 in /libs/includes/db.inc.php on line 24

Notice: Undefined offset: 1 in /libs/includes/db.inc.php on line 24

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 in /libs/includes/db.inc.php on line 24

Notice: Undefined offset: 2 in /libs/includes/db.inc.php on line 30

Warning: mysql_select_db() [function.mysql-select-db]: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 in /libs/includes/db.inc.php on line 30

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /libs/includes/db.inc.php on line 30

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /libs/includes/db.inc.php:24) in /index.php on line 6

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /libs/includes/db.inc.php:24) in /index.php on line 6

Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time in /index.php on line 11

Warning: mysql_query() [function.mysql-query]: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 in /libs/includes/db.inc.php on line 138

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /libs/includes/db.inc.php on line 138
SELECT id FROM nocleg_obiekty WHERE login='margo'

blad zapytania :

Lost connection to MySQL server at 'reading initial communication packet', system error: 0