MDB2_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => -24 [message] => MDB2 Error: connect failed [userinfo] => connect: [Error message: unable to establish a connection] ** mssql(mssql)://newlife:xxx@MServerNew_UTF8/NEWLIFE [backtrace] => Array ( [0] => Array ( [file] => /home/newlife/libs/PEAR/MDB2.php [line] => 1013 [function] => PEAR_Error [class] => PEAR_Error [type] => -> [args] => Array ( [0] => MDB2 Error: connect failed [1] => -24 [2] => 1 [3] => 1024 [4] => connect: [Error message: unable to establish a connection] ) ) [1] => Array ( [file] => /home/newlife/libs/PEAR/PEAR.php [line] => 574 [function] => MDB2_Error [class] => MDB2_Error [object] => MDB2_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => -24 [1] => 1 [2] => 1024 [3] => connect: [Error message: unable to establish a connection] ) ) [2] => Array ( [file] => /home/newlife/libs/PEAR/MDB2.php [line] => 1501 [function] => raiseError [class] => PEAR [object] => MDB2_Driver_mssql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => ' [escape_pattern] => ) [identifier_quoting] => Array ( [start] => [ [end] => ] [escape] => ] ) [db_index] => 1 [dsn] => Array ( [phptype] => mssql [dbsyntax] => mssql [username] => newlife [password] => newlifedb229 [protocol] => [hostspec] => MServerNew_UTF8 [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( ) [connection] => 0 [opened_persistent] => [database_name] => NEWLIFE [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] => [current_id] => emulated [limit_queries] => emulated [LOBs] => 1 [replace] => emulated [sub_selects] => 1 [triggers] => [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => emulated [identifier_quoting] => [pattern_escaping] => 1 [new_link] => ) [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] => 2 [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] => 0 [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] => 30 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [database_device] => [database_size] => ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => /* [end] => */ [escape] => ) ) [wildcards] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error] => [offset] => 0 [limit] => 0 [phptype] => mssql [dbsyntax] => mssql [last_query] => [fetchmode] => 1 [modules] => Array ( ) [destructor_registered] => 1 [_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] => connect: [Error message: unable to establish a connection] [5] => MDB2_Error [6] => 1 ) ) [3] => Array ( [file] => /home/newlife/libs/PEAR/MDB2/Driver/mssql.php [line] => 333 [function] => raiseError [class] => MDB2_Driver_Common [object] => MDB2_Driver_mssql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => ' [escape_pattern] => ) [identifier_quoting] => Array ( [start] => [ [end] => ] [escape] => ] ) [db_index] => 1 [dsn] => Array ( [phptype] => mssql [dbsyntax] => mssql [username] => newlife [password] => newlifedb229 [protocol] => [hostspec] => MServerNew_UTF8 [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( ) [connection] => 0 [opened_persistent] => [database_name] => NEWLIFE [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] => [current_id] => emulated [limit_queries] => emulated [LOBs] => 1 [replace] => emulated [sub_selects] => 1 [triggers] => [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => emulated [identifier_quoting] => [pattern_escaping] => 1 [new_link] => ) [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] => 2 [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] => 0 [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] => 30 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [database_device] => [database_size] => ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => /* [end] => */ [escape] => ) ) [wildcards] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error] => [offset] => 0 [limit] => 0 [phptype] => mssql [dbsyntax] => mssql [last_query] => [fetchmode] => 1 [modules] => Array ( ) [destructor_registered] => 1 [_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] => unable to establish a connection [4] => connect [5] => connect ) ) [4] => Array ( [file] => /home/newlife/libs/PEAR/MDB2.php [line] => 441 [function] => connect [class] => MDB2_Driver_mssql [object] => MDB2_Driver_mssql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => ' [escape_pattern] => ) [identifier_quoting] => Array ( [start] => [ [end] => ] [escape] => ] ) [db_index] => 1 [dsn] => Array ( [phptype] => mssql [dbsyntax] => mssql [username] => newlife [password] => newlifedb229 [protocol] => [hostspec] => MServerNew_UTF8 [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( ) [connection] => 0 [opened_persistent] => [database_name] => NEWLIFE [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] => [current_id] => emulated [limit_queries] => emulated [LOBs] => 1 [replace] => emulated [sub_selects] => 1 [triggers] => [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => emulated [identifier_quoting] => [pattern_escaping] => 1 [new_link] => ) [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] => 2 [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] => 0 [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] => 30 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [database_device] => [database_size] => ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => /* [end] => */ [escape] => ) ) [wildcards] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error] => [offset] => 0 [limit] => 0 [phptype] => mssql [dbsyntax] => mssql [last_query] => [fetchmode] => 1 [modules] => Array ( ) [destructor_registered] => 1 [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( ) ) [5] => Array ( [file] => /home/newlife/libs/config/db.init.inc.php [line] => 31 [function] => connect [class] => MDB2 [type] => :: [args] => Array ( [0] => Array ( [phptype] => mssql [username] => newlife [password] => newlifedb229 [database] => NEWLIFE [hostspec] => MServerNew_UTF8 ) [1] => Array ( [debug] => 2 [portability] => 0 ) ) ) [6] => Array ( [file] => /home/newlife/include/header.php [line] => 33 [args] => Array ( [0] => /home/newlife/libs/config/db.init.inc.php ) [function] => require_once ) [7] => Array ( [file] => /home/newlife/index.html [line] => 2 [args] => Array ( [0] => /home/newlife/include/header.php ) [function] => include_once ) ) [callback] => ) Could not create mssql database connection. "MDB2 Error: connect failed"