[Resolvido] Erro ao tentar carregar PHP por jQuery
Quando tento atualizar uma div que carrega um PHP puxando valores do MySQL, dá o seguinte erro:
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/megabeat/www/v1/linha.php on line 3
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/pimentanet/www/megabeat/v1/linha.php on line 3
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Agora, se tentar chamar a página "v1/linha.php" por include(), a página aparece sem problemas :/
Discussão (1)
Carregando comentários...