Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/kinokorka.ru/bin/lib/db.cls on line 9 Warning: mysql_query(): Access denied for user 'apache'@'localhost' (using password: NO) in /home/kinokorka.ru/bin/lib/db.cls on line 10 Warning: mysql_query(): A link to the server could not be established in /home/kinokorka.ru/bin/lib/db.cls on line 10 Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/kinokorka.ru/bin/lib/db.cls on line 11 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/kinokorka.ru/bin/lib/db.cls on line 22 Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/kinokorka.ru/bin/lib/db.cls on line 43
Error:
SELECT * FROM `kino` WHERE `id` = '45'
Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/kinokorka.ru/bin/lib/db.cls on line 17