Unknown MySQL server host 'mysql01.fc.ul.pt' (1) Warning: mysql_set_charset(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/httpd/ce3c/public_html/_vo/config.php on line 162 Warning: mysql_set_charset(): A link to the server could not be established in /home/httpd/ce3c/public_html/_vo/config.php on line 162

Excepção lançada

Trace simples:

Profundidade: 0
Ficheiro: /home/httpd/ce3c/public_html/_vo/funcsHtml/pretty_links.php
Linha: 38
Função: funcsBDAuxExecutarSql

Profundidade: 1
Ficheiro: /home/httpd/ce3c/public_html/teams/user/index.php
Linha: 5
Função: verifyPath

Profundidade: 2
Ficheiro: /home/httpd/ce3c/public_html/index.php
Linha: 11
Função: include


Mensagem:
Erro sql: SELECT count(*) as contagemRegistos FROM equipa WHERE shortcode='silviacarvalho'
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Trace completo:


Array
(
    [0] => Array
        (
            [file] => /home/httpd/ce3c/public_html/_vo/funcsHtml/pretty_links.php
            [line] => 38
            [function] => funcsBDAuxExecutarSql
            [args] => Array
                (
                    [0] => SELECT count(*) as contagemRegistos FROM equipa WHERE shortcode='silviacarvalho'
                )

        )

    [1] => Array
        (
            [file] => /home/httpd/ce3c/public_html/teams/user/index.php
            [line] => 5
            [function] => verifyPath
            [args] => Array
                (
                    [0] => equipa
                    [1] => silviacarvalho
                )

        )

    [2] => Array
        (
            [file] => /home/httpd/ce3c/public_html/index.php
            [line] => 11
            [args] => Array
                (
                    [0] => /home/httpd/ce3c/public_html/teams/user/index.php
                )

            [function] => include
        )

)