wpdb Object
(
[show_errors] =>
[suppress_errors] =>
[last_error] =>
[num_queries] => 0
[num_rows] => 0
[rows_affected] => 0
[insert_id] => 0
[last_query] =>
[last_result] =>
[result:protected] =>
[col_meta:protected] => Array
(
)
[table_charset:protected] => Array
(
)
[check_current_query:protected] => 1
[checking_collation:wpdb:private] =>
[col_info:protected] =>
[queries] =>
[reconnect_retries:protected] => 5
[prefix] =>
[base_prefix] =>
[ready] =>
[blogid] => 0
[siteid] => 0
[tables] => Array
(
[0] => posts
[1] => comments
[2] => links
[3] => options
[4] => postmeta
[5] => terms
[6] => term_taxonomy
[7] => term_relationships
[8] => termmeta
[9] => commentmeta
)
[old_tables] => Array
(
[0] => categories
[1] => post2cat
[2] => link2cat
)
[global_tables] => Array
(
[0] => users
[1] => usermeta
)
[ms_global_tables] => Array
(
[0] => blogs
[1] => blogmeta
[2] => signups
[3] => site
[4] => sitemeta
[5] => sitecategories
[6] => registration_log
)
[comments] =>
[commentmeta] =>
[links] =>
[options] =>
[postmeta] =>
[posts] =>
[terms] =>
[term_relationships] =>
[term_taxonomy] =>
[termmeta] =>
[usermeta] =>
[users] =>
[blogs] =>
[blogmeta] =>
[registration_log] =>
[signups] =>
[site] =>
[sitecategories] =>
[sitemeta] =>
[field_types] => Array
(
)
[charset] =>
[collate] =>
[dbuser:protected] => quantumq_admin
[dbpassword:protected] => BaseQuantum2013
[dbname:protected] => quantumq_basequantum
[dbhost:protected] => localhost
[dbh:protected] =>
[func_call] => $db->get_results("
Select *,count(pais) as Cantidad FROM
(SELECT empresas.paisdirecto AS pais,
case when tiposervicio like 'Gas%' then 'Gas' else tiposervicio end as servicio
FROM empresas) a
GROUP BY servicio,pais
", OBJECT)
[is_mysql] => 1
[incompatible_modes:protected] => Array
(
[0] => NO_ZERO_DATE
[1] => ONLY_FULL_GROUP_BY
[2] => STRICT_TRANS_TABLES
[3] => STRICT_ALL_TABLES
[4] => TRADITIONAL
[5] => ANSI
)
[use_mysqli:wpdb:private] => 1
[has_connected:wpdb:private] =>
[time_start] =>
[error] => WP_Error Object
(
[errors] => Array
(
[db_connect_fail] => Array
(
[0] =>
Error establishing a database connection
This either means that the username and password information in your wp-config.php
file is incorrect or that contact with the database server at localhost
could not be established. This could mean your host’s database server is down.
- Are you sure you have the correct username and password?
- Are you sure you have typed the correct hostname?
- Are you sure the database server is running?
If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
)
)
[error_data] => Array
(
)
[additional_data:protected] => Array
(
)
)
)
1