Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/sociedadesgastro/public_html/_connectionsnueva.php on line 36

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/sociedadesgastro/public_html/_connectionsnueva.php on line 37

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/sociedadesgastro/public_html/_connectionsnueva.php:36) in /home/sociedadesgastro/public_html/_connectionsnueva.php on line 45

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/sociedadesgastro/public_html/_connectionsnueva.php:36) in /home/sociedadesgastro/public_html/_connectionsnueva.php on line 45

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/sociedadesgastro/public_html/sociedades_listado.php on line 49

Warning: mysql_query(): A link to the server could not be established in /home/sociedadesgastro/public_html/sociedades_listado.php on line 49
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
SELECT so.id,so.nombre,so.estado_sociedad,so.dirbreve,so.poblacion,so.fotos,pa.nombre AS pais,pr.provincia AS provincia, if(so.historia<>'',1,0) AS historia FROM sociedades so,provincias pr,paises pa WHERE so.provincia=pr.id AND so.pais=pa.id ORDER BY nombre LIMIT 90,10