Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/pang/qeephp/library/db/adapter/mysql.php on line 68
QDB_Exception Object
(
    [sql] => CONNECT DATABASE
    [message:protected] => Lost connection to MySQL server at 'reading initial communication packet', system error: 111
    [string:Exception:private] => 
    [code:protected] => 2013
    [file:protected] => /home/pang/qeephp/library/db/adapter/mysql.php
    [line:protected] => 73
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/pang/qeephp/library/db/table.php
                    [line] => 436
                    [function] => connect
                    [class] => QDB_Adapter_Mysql
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /home/pang/qeephp/library/db/table.php
                    [line] => 472
                    [function] => setConn
                    [class] => QDB_Table
                    [type] => ->
                    [args] => Array
                        (
                            [0] => QDB_Adapter_Mysql Object
                                (
                                    [_bind_enabled:protected] => 
                                    [_dsn:protected] => Array
                                        (
                                            [driver] => mysql
                                            [host] => 127.0.0.1
                                            [login] => root
                                            [password] => kingdee
                                            [database] => fremo
                                            [charset] => utf8
                                            [prefix] => 
                                        )

                                    [_id:protected] => dbo_mysql_382091ee754e70e3f17ffa03d8c51e6e
                                    [_schema:protected] => fremo
                                    [_fetch_mode:protected] => 2
                                    [_conn:protected] => 
                                    [_log_enabled:protected] => 1
                                    [_last_err:protected] => 
                                    [_last_err_code:protected] => 
                                    [_insert_id:protected] => 
                                    [_trans_count:protected] => 0
                                    [_has_failed_query:protected] => 
                                    [_savepoints_stack:protected] => Array
                                        (
                                        )

                                    [_true_value:protected] => 1
                                    [_false_value:protected] => 0
                                    [_null_value:protected] => NULL
                                    [_timestamp_format:protected] => Y-m-d H:i:s
                                    [_param_style:protected] => ?
                                    [_has_insert_id:protected] => 1
                                    [_affected_rows_enabled:protected] => 1
                                    [_transaction_enabled:protected] => 1
                                    [_savepoint_enabled:protected] => 
                                    [_result_field_name_lower:protected] => 
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/pang/qeephp/library/db/table.php
                    [line] => 455
                    [function] => _setupConn
                    [class] => QDB_Table
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /home/pang/qeephp/library/db/table.php
                    [line] => 367
                    [function] => init
                    [class] => QDB_Table
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /home/pang/qeephp/library/orm/activerecord/meta.php
                    [line] => 1318
                    [function] => columns
                    [class] => QDB_Table
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [5] => Array
                (
                    [file] => /home/pang/qeephp/library/orm/activerecord/meta.php
                    [line] => 242
                    [function] => _init1
                    [class] => QDB_ActiveRecord_Meta
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Table_Product
                        )

                )

            [6] => Array
                (
                    [file] => /home/pang/qeephp/library/orm/activerecord/meta.php
                    [line] => 256
                    [function] => __construct
                    [class] => QDB_ActiveRecord_Meta
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Table_Product
                        )

                )

            [7] => Array
                (
                    [file] => /home/pang/ianker/app/model/table/product.php
                    [line] => 195
                    [function] => instance
                    [class] => QDB_ActiveRecord_Meta
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Table_Product
                        )

                )

            [8] => Array
                (
                    [file] => /home/pang/ianker/app/controller/product_controller.php
                    [line] => 16
                    [function] => find
                    [class] => Table_Product
                    [type] => ::
                    [args] => Array
                        (
                            [0] => id=?
                            [1] => 10
                        )

                )

            [9] => Array
                (
                    [function] => actionShow
                    [class] => Controller_Product
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => /home/pang/qeephp/extended/edeali/controller/abstract.php
                    [line] => 62
                    [function] => call_user_func_array
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => Controller_Product Object
                                        (
                                            [_view:protected] => Array
                                                (
                                                    [style] => inner.css
                                                    [bodyclass] => class='goods'
                                                )

                                            [_view_class:protected] => QView_Render_PHP
                                            [_viewname:protected] => 
                                            [_app:protected] => MyApp Object
                                                (
                                                    [_app_config:protected] => Array
                                                        (
                                                            [QEEPHP_DIR] => /home/pang/ianker/../qeephp
                                                            [APPID] => shire
                                                            [DOMAIN] => http://app.edeali.local
                                                            [RUN_MODE] => devel
                                                            [ROOT_DIR] => /home/pang/ianker
                                                            [APP_DIR] => /home/pang/ianker/app
                                                            [CONFIG_DIR] => /home/pang/ianker/config
                                                            [MODULE_DIR] => /home/pang/ianker/modules
                                                            [CONFIG_CACHE_BACKEND] => QCache_File
                                                            [CONFIG_CACHED] => 1
                                                            [CONFIG_FILE_EXTNAME] => yaml
                                                            [CONFIG_CACHE_SETTINGS] => Array
                                                                (
                                                                    [QCache_File] => Array
                                                                        (
                                                                            [life_time] => 10
                                                                            [serialize] => 1
                                                                            [cache_dir] => /home/pang/ianker/tmp/runtime_cache
                                                                        )

                                                                )

                                                        )

                                                )

                                            [_context:protected] => QContext Object
                                                (
                                                    [module_name] => 
                                                    [namespace] => 
                                                    [controller_name] => product
                                                    [action_name] => show
                                                    [_params:QContext:private] => Array
                                                        (
                                                        )

                                                    [_router:QContext:private] => QRouter Object
                                                        (
                                                            [_matched_route_name:protected] => product_view
                                                            [_reverse_matched_route_name:protected] => 
                                                            [_routes:protected] => Array
                                                                (
                                                                    [admin] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => admin
                                                                            [pattern] => backend/:controller/:action/*
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => var
                                                                                    [2] => var
                                                                                    [3] => wildcard
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                    [controller] => ([a-z][a-z0-9]*)*
                                                                                    [action] => ([a-z][a-z0-9]*)*
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                    [1] => controller
                                                                                    [2] => action
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [module] => admin
                                                                                    [controller] => default
                                                                                    [action] => index
                                                                                    [namespace] => default
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [module] => 1
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [namespace] => 1
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => backend
                                                                                    [3] => *
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [3] => 
                                                                                )

                                                                        )

                                                                    [service] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => service
                                                                            [pattern] => service/:controller/:action/*
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => var
                                                                                    [2] => var
                                                                                    [3] => wildcard
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                    [controller] => ([a-z][a-z0-9]*)*
                                                                                    [action] => ([a-z][a-z0-9]*)*
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                    [1] => controller
                                                                                    [2] => action
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [module] => service
                                                                                    [controller] => default
                                                                                    [action] => index
                                                                                    [namespace] => default
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [module] => 1
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [namespace] => 1
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => service
                                                                                    [3] => *
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [3] => 
                                                                                )

                                                                        )

                                                                    [bin] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => bin
                                                                            [pattern] => bin/:controller/:action/*
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => var
                                                                                    [2] => var
                                                                                    [3] => wildcard
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                    [controller] => ([a-z][a-z0-9]*)*
                                                                                    [action] => ([a-z][a-z0-9]*)*
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                    [1] => controller
                                                                                    [2] => action
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [module] => bin
                                                                                    [controller] => default
                                                                                    [action] => index
                                                                                    [namespace] => default
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [module] => 1
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [namespace] => 1
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => bin
                                                                                    [3] => *
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [3] => 
                                                                                )

                                                                        )

                                                                    [category] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => category
                                                                            [pattern] => category/:cid/*
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => var
                                                                                    [2] => wildcard
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                    [cid] => .*
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                    [1] => cid
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [controller] => category
                                                                                    [action] => index
                                                                                    [module] => default
                                                                                    [namespace] => default
                                                                                    [cid] => 
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [module] => 1
                                                                                    [namespace] => 1
                                                                                    [cid] => 
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => category
                                                                                    [2] => *
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [2] => 
                                                                                )

                                                                        )

                                                                    [video] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => video
                                                                            [pattern] => video/
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => static
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [controller] => video
                                                                                    [action] => index
                                                                                    [module] => default
                                                                                    [namespace] => default
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [module] => 1
                                                                                    [namespace] => 1
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => video
                                                                                    [1] => 
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [1] => 
                                                                                )

                                                                        )

                                                                    [video_view] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => video_view
                                                                            [pattern] => video/:id/*
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => var
                                                                                    [2] => wildcard
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                    [id] => .*
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                    [1] => id
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [controller] => video
                                                                                    [action] => show
                                                                                    [module] => default
                                                                                    [namespace] => default
                                                                                    [id] => 
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [module] => 1
                                                                                    [namespace] => 1
                                                                                    [id] => 
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => video
                                                                                    [2] => *
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [2] => 
                                                                                )

                                                                        )

                                                                    [product_new] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => product_new
                                                                            [pattern] => product/new
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => static
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [controller] => product
                                                                                    [action] => new
                                                                                    [module] => default
                                                                                    [namespace] => default
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [module] => 1
                                                                                    [namespace] => 1
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => product
                                                                                    [1] => new
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [1] => 
                                                                                )

                                                                        )

                                                                    [product_hot] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => product_hot
                                                                            [pattern] => product/hot
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => static
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [controller] => product
                                                                                    [action] => hot
                                                                                    [module] => default
                                                                                    [namespace] => default
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [module] => 1
                                                                                    [namespace] => 1
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => product
                                                                                    [1] => hot
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [1] => 
                                                                                )

                                                                        )

                                                                    [product_view] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => product_view
                                                                            [pattern] => product/:id/*
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => static
                                                                                    [1] => var
                                                                                    [2] => wildcard
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                    [id] => .*
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                    [1] => id
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [controller] => product
                                                                                    [action] => show
                                                                                    [module] => default
                                                                                    [namespace] => default
                                                                                    [id] => 
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [module] => 1
                                                                                    [namespace] => 1
                                                                                    [id] => 
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [0] => product
                                                                                    [2] => *
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [0] => 
                                                                                    [2] => 
                                                                                )

                                                                        )

                                                                    [_default_] => Array
                                                                        (
                                                                            [type] => simple
                                                                            [name] => _default_
                                                                            [pattern] => :controller/:action/*
                                                                            [pattern_parts] => Array
                                                                                (
                                                                                    [0] => var
                                                                                    [1] => var
                                                                                    [2] => wildcard
                                                                                )

                                                                            [config] => Array
                                                                                (
                                                                                    [controller] => ([a-z][a-z0-9]*)*
                                                                                    [action] => ([a-z][a-z0-9]*)*
                                                                                )

                                                                            [vars] => Array
                                                                                (
                                                                                    [0] => controller
                                                                                    [1] => action
                                                                                )

                                                                            [varnames] => Array
                                                                                (
                                                                                    [controller] => default
                                                                                    [action] => index
                                                                                    [module] => default
                                                                                    [namespace] => default
                                                                                )

                                                                            [defaults] => Array
                                                                                (
                                                                                    [controller] => 1
                                                                                    [action] => 1
                                                                                    [module] => 1
                                                                                    [namespace] => 1
                                                                                )

                                                                            [static_parts] => Array
                                                                                (
                                                                                    [2] => *
                                                                                )

                                                                            [static_optional] => Array
                                                                                (
                                                                                    [2] => 
                                                                                )

                                                                        )

                                                                )

                                                            [_var_prefix:protected] => :
                                                            [_part_delimiter:protected] => /
                                                            [_default_var_regex:protected] => .+
                                                            [_udi_var_regex:protected] => ([a-z][a-z0-9]*)*
                                                            [_udi_parts:protected] => Array
                                                                (
                                                                    [module] => default
                                                                    [namespace] => default
                                                                    [controller] => default
                                                                    [action] => index
                                                                )

                                                        )

                                                )

                                        )

                                    [1] => actionshow
                                )

                            [1] => Array
                                (
                                )

                        )

                )

            [11] => Array
                (
                    [file] => /home/pang/ianker/app/myapp.php
                    [line] => 229
                    [function] => execute
                    [class] => Edeali_Controller_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => show
                            [1] => Array
                                (
                                )

                        )

                )

            [12] => Array
                (
                    [file] => /home/pang/ianker/public/index.php
                    [line] => 15
                    [function] => dispatching
                    [class] => MyApp
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)

Lost connection to MySQL server at 'reading initial communication packet', system error: 111