Warning: mysql_pconnect() [function.mysql-pconnect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/fhlinux141/r/rimless-glasses.co.uk/user/htdocs/common/database.class.php on line 12

Warning: mysql_selectdb() [function.mysql-selectdb]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/fhlinux141/r/rimless-glasses.co.uk/user/htdocs/common/database.class.php on line 13

Warning: mysql_selectdb() [function.mysql-selectdb]: A link to the server could not be established in /home/fhlinux141/r/rimless-glasses.co.uk/user/htdocs/common/database.class.php on line 13

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/fhlinux141/r/rimless-glasses.co.uk/user/htdocs/common/database.class.php on line 50

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/fhlinux141/r/rimless-glasses.co.uk/user/htdocs/common/database.class.php on line 50

select * from category where id='23' 2002 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)