PDOException Object
(
    [message:protected] => SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    [string:Exception:private] => 
    [code:protected] => 2002
    [file:protected] => /var/www/website/openmind/includes/sql.php
    [line:protected] => 11
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/website/openmind/includes/sql.php
                    [line] => 11
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:host=localhost;port=3306;dbname=openminded
                            [1] => openminded
                            [2] => kWDTuIxl5mTloHPP
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/website/openmind/config.inc.php
                    [line] => 30
                    [function] => sql_db
                    [class] => SQL_DB
                    [type] => ->
                    [args] => Array
                        (
                            [0] => localhost
                            [1] => openminded
                            [2] => openminded
                            [3] => kWDTuIxl5mTloHPP
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/website/openmind/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /var/www/website/openmind/config.inc.php
                        )

                    [function] => require_once
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => 
)