mysqli Object
(
    [affected_rows] => 
    [client_info] => 
    [client_version] => 50012
    [connect_errno] => 1049
    [connect_error] => Unknown database 'mgn_db'
    [errno] => 
    [error] => 
    [error_list] => 
    [field_count] => 
    [host_info] => 
    [info] => 
    [insert_id] => 
    [server_info] => 
    [server_version] => 
    [stat] => 
    [sqlstate] => 
    [protocol_version] => 
    [thread_id] => 
    [warning_count] => 
)
{query} Database Error : 1049 : Unknown database 'mgn_db'
SELECT COUNT(*) AS cnt FROM participant WHERE valid = 'Y'