EXCEPTION

ErrorException Object
(
    [message:protected] => mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /home/attilioimperiali/public_html/import/db.php
    [line:protected] => 32
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [function] => error_handler
                    [args] => Array
                        (
                            [0] => 2
                            [1] => mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
                            [2] => /home/attilioimperiali/public_html/import/db.php
                            [3] => 32
                            [4] => Array
                                (
                                    [_GET] => Array
                                        (
                                        )

                                    [_POST] => Array
                                        (
                                        )

                                    [_COOKIE] => Array
                                        (
                                        )

                                    [_FILES] => Array
                                        (
                                        )

                                    [_SERVER] => Array
                                        (
                                            [PATH] => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
                                            [PWD] => /usr/local/cpanel/cgi-sys
                                            [SHLVL] => 0
                                            [HTTP_CONNECTION] => close
                                            [SCRIPT_NAME] => /index.php
                                            [REQUEST_URI] => /
                                            [QUERY_STRING] => 
                                            [REQUEST_METHOD] => GET
                                            [SERVER_PROTOCOL] => HTTP/1.0
                                            [GATEWAY_INTERFACE] => CGI/1.1
                                            [REMOTE_PORT] => 59504
                                            [SCRIPT_FILENAME] => /home/attilioimperiali/public_html/index.php
                                            [SERVER_ADMIN] => webmaster@attilioimperiali.it
                                            [CONTEXT_DOCUMENT_ROOT] => /home/attilioimperiali/public_html
                                            [CONTEXT_PREFIX] => 
                                            [REQUEST_SCHEME] => http
                                            [DOCUMENT_ROOT] => /home/attilioimperiali/public_html
                                            [REMOTE_ADDR] => 54.92.192.156
                                            [SERVER_PORT] => 80
                                            [SERVER_ADDR] => 194.209.228.154
                                            [SERVER_NAME] => attilioimperiali.it
                                            [SERVER_SOFTWARE] => Apache
                                            [SERVER_SIGNATURE] => 
                                            [LD_LIBRARY_PATH] => /usr/local/apache/lib
                                            [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
                                            [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3
                                            [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
                                            [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
                                            [HTTP_HOST] => attilioimperiali.it
                                            [UNIQUE_ID] => V@oAZMLR5JoADePEERQAAAAI
                                            [FCGI_ROLE] => RESPONDER
                                            [PHP_SELF] => /index.php
                                            [REQUEST_TIME_FLOAT] => 1474953316.9956
                                            [REQUEST_TIME] => 1474953316
                                            [argv] => Array
                                                (
                                                )

                                            [argc] => 0
                                        )

                                    [_REQUEST] => Array
                                        (
                                        )

                                    [_ENV] => Array
                                        (
                                            [PATH] => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
                                            [PWD] => /usr/local/cpanel/cgi-sys
                                            [SHLVL] => 0
                                            [HTTP_CONNECTION] => close
                                            [SCRIPT_NAME] => /index.php
                                            [REQUEST_URI] => /
                                            [QUERY_STRING] => 
                                            [REQUEST_METHOD] => GET
                                            [SERVER_PROTOCOL] => HTTP/1.0
                                            [GATEWAY_INTERFACE] => CGI/1.1
                                            [REMOTE_PORT] => 59504
                                            [SCRIPT_FILENAME] => /home/attilioimperiali/public_html/index.php
                                            [SERVER_ADMIN] => webmaster@attilioimperiali.it
                                            [CONTEXT_DOCUMENT_ROOT] => /home/attilioimperiali/public_html
                                            [CONTEXT_PREFIX] => 
                                            [REQUEST_SCHEME] => http
                                            [DOCUMENT_ROOT] => /home/attilioimperiali/public_html
                                            [REMOTE_ADDR] => 54.92.192.156
                                            [SERVER_PORT] => 80
                                            [SERVER_ADDR] => 194.209.228.154
                                            [SERVER_NAME] => attilioimperiali.it
                                            [SERVER_SOFTWARE] => Apache
                                            [SERVER_SIGNATURE] => 
                                            [LD_LIBRARY_PATH] => /usr/local/apache/lib
                                            [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
                                            [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3
                                            [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
                                            [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
                                            [HTTP_HOST] => attilioimperiali.it
                                            [UNIQUE_ID] => V@oAZMLR5JoADePEERQAAAAI
                                            [FCGI_ROLE] => RESPONDER
                                            [PHP_SELF] => /index.php
                                            [REQUEST_TIME_FLOAT] => 1474953316.9956
                                            [REQUEST_TIME] => 1474953316
                                            [argv] => Array
                                                (
                                                )

                                            [argc] => 0
                                        )

                                    [GLOBALS] => Array
 *RECURSION*
                                    [_SESSION] => Array
                                        (
                                        )

                                    [owner] => Tessitura Attilio Imperiali S.p.A.
                                    [owner_indirizzo] => Via S. Carlo, 10
                                    [owner_tel] => +39 031 490109
                                    [owner_piva] => 00295440135
                                    [owner_codfisc] => 
                                    [owner_CAP] => 22075
                                    [owner_comune] => Lurate Caccivio
                                    [owner_provincia] => CO
                                    [owner_fax] => +39 031 390132
                                    [owner_capsoc] => € 180.000 i.v.
                                    [owner_cciaa] => Camera Commercio di Como, REA 118972
                                    [nomesito] => attilioimperiali
                                    [tld] => it
                                    [owner_email] => staff@attilioimperiali.it
                                    [cfg_registrazione] => 1
                                    [cfg_registrazione_privati] => 0
                                    [cfg_registrazione_aziende] => 0
                                    [cfg_newsletter] => 1
                                    [cfg_email_registrazione] => info@attilioimperiali.it
                                    [email_noreply] => noreply@attilioimperiali.it
                                    [necessaria_approvazione_utente] => 0
                                    [cfg_sito_ecommerce] => 0
                                    [cfg_busservice] => 0
                                    [owner_sede_legale] => Via Bulgaro, 13/INT
                                    [cfg_posizionamento] => 0
                                    [cfg_mailup] => 1
                                    [cfg_mailup_list] => 63
                                    [cfg_mailup_listGuid] => 05943084-c451-485f-9285-7a7ad030cdcb
                                    [cfg_nome_mittente_mail] => Tessitura Attilio Imperiali
                                    [social_link_facebook] => https://www.facebook.com/pages/Tessitura-Attilio-Imperiali/570720049632750
                                    [social_link_twitter] => 
                                    [social_link_youtube] => 
                                    [cfg_SMTP_address] => smtp.red-apple.it
                                    [cfg_SMTP_port] => 25
                                    [cfg_SMTP_username] => noreplyweb@attilioimperiali.it
                                    [cfg_SMTP_pwd] => vy9m~eCN@}Lt
                                    [cfg_SMTP_from_address] => noreplyweb@attilioimperiali.it
                                    [cfg_SMTP_isAutenticato] => 1
                                    [cfg_mailup_console_id] => 7571
                                    [dominio] => attilioimperiali.it
                                    [MailFrom] => Tessitura Attilio Imperiali 
                                    [indirizzosito] => www.attilioimperiali.it
                                    [db_host] => localhost
                                    [db_name] => attilioi_online
                                    [db_usr] => attilioi_online
                                    [db_pwd] => sdNmHHmfRKF28EB3
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/attilioimperiali/public_html/import/db.php
                    [line] => 32
                    [function] => mysql_connect
                    [args] => Array
                        (
                            [0] => localhost
                            [1] => attilioi_online
                            [2] => sdNmHHmfRKF28EB3
                        )

                )

            [2] => Array
                (
                    [file] => /home/attilioimperiali/public_html/index.php
                    [line] => 19
                    [args] => Array
                        (
                            [0] => /home/attilioimperiali/public_html/import/db.php
                        )

                    [function] => require
                )

        )

    [previous:Exception:private] => 
    [severity:protected] => 2
)
1
mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
0