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/fongyeong/includes/sql.php
    [line:protected] => 11
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/website/fongyeong/includes/sql.php
                    [line] => 11
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:host=localhost;port=3306;dbname=fongyeong
                            [1] => fongyeong
                            [2] => 4QhJoY2uvJOk2Z2Q
                        )

                )

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

                )

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

                    [function] => require_once
                )

        )

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