MDB2_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => -24 [message] => MDB2 Error: connect failed [userinfo] => _doConnect: [Error message: No such file or directory] [Native code: 2002] [Native message: No such file or directory] ** mysql(mysql)://arama269:xxx@localhost/exchange [backtrace] => Array ( [0] => Array ( [file] => /usr/share/pear/PEAR.php [line] => 945 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => MDB2 Error: connect failed [1] => -24 [2] => 1 [3] => 1024 [4] => _doConnect: [Error message: No such file or directory] [Native code: 2002] [Native message: No such file or directory] ) ) [1] => Array ( [file] => /usr/share/pear/MDB2.php [line] => 979 [function] => PEAR_Error [class] => PEAR_Error [object] => MDB2_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => MDB2 Error: connect failed [1] => -24 [2] => 1 [3] => 1024 [4] => _doConnect: [Error message: No such file or directory] [Native code: 2002] [Native message: No such file or directory] ) ) [2] => Array ( [file] => /usr/share/pear/PEAR.php [line] => 575 [function] => __construct [class] => MDB2_Error [object] => MDB2_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => -24 [1] => 1 [2] => 1024 [3] => _doConnect: [Error message: No such file or directory] [Native code: 2002] [Native message: No such file or directory] ) ) [3] => Array ( [function] => _raiseError [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [1] => [2] => -24 [3] => [4] => [5] => _doConnect: [Error message: No such file or directory] [Native code: 2002] [Native message: No such file or directory] [6] => MDB2_Error [7] => 1 ) ) [4] => Array ( [file] => /usr/share/pear/PEAR.php [line] => 224 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => PEAR [1] => _raiseError ) [1] => Array ( [0] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [1] => [2] => -24 [3] => [4] => [5] => _doConnect: [Error message: No such file or directory] [Native code: 2002] [Native message: No such file or directory] [6] => MDB2_Error [7] => 1 ) ) ) [5] => Array ( [file] => /usr/share/pear/MDB2.php [line] => 1500 [function] => __call [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => raiseError [1] => Array ( [0] => [1] => -24 [2] => [3] => [4] => _doConnect: [Error message: No such file or directory] [Native code: 2002] [Native message: No such file or directory] [5] => MDB2_Error [6] => 1 ) ) ) [6] => Array ( [file] => /usr/share/pear/MDB2.php [line] => 1500 [function] => raiseError [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => [1] => -24 [2] => [3] => [4] => _doConnect: [Error message: No such file or directory] [Native code: 2002] [Native message: No such file or directory] [5] => MDB2_Error [6] => 1 ) ) [7] => Array ( [file] => /usr/share/pear/MDB2/Driver/mysql.php [line] => 545 [function] => raiseError [class] => MDB2_Driver_Common [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => [start_transaction:protected] => [varchar_max_length] => 255 [datatype] => [extended] => [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => arama269 [password] => pJLVZjm [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( ) [connection] => 0 [opened_persistent] => [database_name] => exchange [connected_database_name] => [connected_server_info] => [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => emulated [triggers] => [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => emulated [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 127 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => [fetchmode] => 1 [modules:protected] => Array ( ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => -24 [1] => [2] => [3] => No such file or directory [4] => _doConnect ) ) [8] => Array ( [file] => /usr/share/pear/MDB2/Driver/mysql.php [line] => 588 [function] => _doConnect [class] => MDB2_Driver_mysql [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => [start_transaction:protected] => [varchar_max_length] => 255 [datatype] => [extended] => [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => arama269 [password] => pJLVZjm [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( ) [connection] => 0 [opened_persistent] => [database_name] => exchange [connected_database_name] => [connected_server_info] => [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => emulated [triggers] => [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => emulated [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 127 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => [fetchmode] => 1 [modules:protected] => Array ( ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => arama269 [1] => pJLVZjm [2] => ) ) [9] => Array ( [file] => /usr/share/pear/MDB2.php [line] => 422 [function] => connect [class] => MDB2_Driver_mysql [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => [start_transaction:protected] => [varchar_max_length] => 255 [datatype] => [extended] => [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => arama269 [password] => pJLVZjm [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( ) [connection] => 0 [opened_persistent] => [database_name] => exchange [connected_database_name] => [connected_server_info] => [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => emulated [triggers] => [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => emulated [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 127 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => [fetchmode] => 1 [modules:protected] => Array ( ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( ) ) [10] => Array ( [file] => /home/arama269/www/taiwanhotelranking.com/class/Common_Function.php [line] => 60 [function] => connect [class] => MDB2 [type] => :: [args] => Array ( [0] => mysql://arama269:pJLVZjm@localhost/exchange ) ) [11] => Array ( [file] => /home/arama269/www/taiwanhotelranking.com/class/Special.php [line] => 26 [function] => dbConnect [class] => Common_Function [object] => Special Object ( [rank_info:protected] => Array ( [0] => Array ( [label] => リーズナブル [price] => 3,000~5,000 [icon] => icon_coin_1.gif ) [1] => Array ( [label] => プチゴージャス [price] => 5,000~10,000 [icon] => icon_coin_2.gif ) [2] => Array ( [label] => ゴージャス [price] => 10,000~15,000 [icon] => icon_coin_3.gif ) ) [sp_hotel:protected] => Array ( [yakiniku] => Array ( [0] => 142 [1] => 16 [2] => 13 [3] => 196 [4] => 19 [5] => 140 [6] => 148 [7] => 157 ) [night-sp] => Array ( [0] => 25 [1] => 169 [2] => 26 [3] => 29 [4] => 27 [5] => 162 [6] => 164 [7] => 166 ) [plastic_surgery] => Array ( [0] => 25 [1] => 169 [2] => 26 [3] => 29 [4] => 27 [5] => 162 [6] => 164 [7] => 166 ) [countdown_newyear2014] => Array ( [0] => 128 [1] => 8 [2] => 7 [3] => 132 [4] => 133 [5] => 129 [6] => 131 [7] => 9 [8] => 126 [9] => 125 [10] => 127 [11] => 136 ) ) [db:protected] => [booth_list:protected] => Array ( ) [shop_list:protected] => Array ( ) [bank_list:protected] => Array ( ) [area_list:protected] => Array ( ) [city:protected] => Array ( [0] => "Hong Kong" ) [search_items] => Array ( [checkbox] => Array ( [wifi] => Wi-Fi無料 [outdoor_pool] => プール付き ) [checkbox_more] => Array ( [smoking_area] => 喫煙所あり [fivestar] => 5つ星ホテル [hot_spring_bath] => 温泉あり [este] => エステあり [airport_transfer] => 空港送迎あり [japanese] => 日本語対応 ) [select] => Array ( [rate] => 総合評価順 [click] => 人気ホテル [price_asc] => 価格の安い順 [price_desc] => 価格の高い順 [alone] => ひとり旅評価 [business] => ビジネス評価 [couple] => カップル評価 [type_rate] => %%%label%%%の高い順 ) [default_select] => Array ( [click] => Array ( [0] => all [1] => reasonable [2] => middle [3] => highclass [4] => sa ) [rate] => Array ( [0] => rate ) [type_rate] => Array ( [0] => business [1] => couple [2] => alone ) ) ) ) [type] => -> [args] => Array ( [0] => mysql://arama269:pJLVZjm@localhost/exchange ) ) [12] => Array ( [file] => /home/arama269/www/taiwanhotelranking.com/special.php [line] => 18 [function] => __construct [class] => Special [object] => Special Object ( [rank_info:protected] => Array ( [0] => Array ( [label] => リーズナブル [price] => 3,000~5,000 [icon] => icon_coin_1.gif ) [1] => Array ( [label] => プチゴージャス [price] => 5,000~10,000 [icon] => icon_coin_2.gif ) [2] => Array ( [label] => ゴージャス [price] => 10,000~15,000 [icon] => icon_coin_3.gif ) ) [sp_hotel:protected] => Array ( [yakiniku] => Array ( [0] => 142 [1] => 16 [2] => 13 [3] => 196 [4] => 19 [5] => 140 [6] => 148 [7] => 157 ) [night-sp] => Array ( [0] => 25 [1] => 169 [2] => 26 [3] => 29 [4] => 27 [5] => 162 [6] => 164 [7] => 166 ) [plastic_surgery] => Array ( [0] => 25 [1] => 169 [2] => 26 [3] => 29 [4] => 27 [5] => 162 [6] => 164 [7] => 166 ) [countdown_newyear2014] => Array ( [0] => 128 [1] => 8 [2] => 7 [3] => 132 [4] => 133 [5] => 129 [6] => 131 [7] => 9 [8] => 126 [9] => 125 [10] => 127 [11] => 136 ) ) [db:protected] => [booth_list:protected] => Array ( ) [shop_list:protected] => Array ( ) [bank_list:protected] => Array ( ) [area_list:protected] => Array ( ) [city:protected] => Array ( [0] => "Hong Kong" ) [search_items] => Array ( [checkbox] => Array ( [wifi] => Wi-Fi無料 [outdoor_pool] => プール付き ) [checkbox_more] => Array ( [smoking_area] => 喫煙所あり [fivestar] => 5つ星ホテル [hot_spring_bath] => 温泉あり [este] => エステあり [airport_transfer] => 空港送迎あり [japanese] => 日本語対応 ) [select] => Array ( [rate] => 総合評価順 [click] => 人気ホテル [price_asc] => 価格の安い順 [price_desc] => 価格の高い順 [alone] => ひとり旅評価 [business] => ビジネス評価 [couple] => カップル評価 [type_rate] => %%%label%%%の高い順 ) [default_select] => Array ( [click] => Array ( [0] => all [1] => reasonable [2] => middle [3] => highclass [4] => sa ) [rate] => Array ( [0] => rate ) [type_rate] => Array ( [0] => business [1] => couple [2] => alone ) ) ) ) [type] => -> [args] => Array ( ) ) [13] => Array ( [file] => /home/arama269/www/taiwanhotelranking.com/special.php [line] => 71 [function] => __construct [class] => SpecialController [object] => SpecialController Object ( [template_name:SpecialController:private] => ) [type] => -> [args] => Array ( ) ) ) [callback] => ) MDB2 Error: connect failed