Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/vhosts/redfarma.es/httpdocs/config-bd-mainshop.php on line 18

Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/vhosts/redfarma.es/httpdocs/config-bd-mainshop.php on line 19

Warning: mysql_select_db(): A link to the server could not be established in /var/www/vhosts/redfarma.es/httpdocs/config-bd-mainshop.php on line 19
error opening database