Connected successfullymysqli Object ( [affected_rows] => -1 [client_info] => 5.5.60 [client_version] => 50560 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 0 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.5.62-0+deb8u1-log [server_version] => 50562 [stat] => Uptime: 215360 Threads: 1 Questions: 27110088 Slow queries: 6306748 Opens: 11593 Flush tables: 1 Open tables: 3000 Queries per second avg: 125.882 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 453193 [warning_count] => 0 ) Connected successfullymysqli Object ( [affected_rows] => -1 [client_info] => 5.5.60 [client_version] => 50560 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 0 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.5.62-0+deb8u1-log [server_version] => 50562 [stat] => Uptime: 215360 Threads: 1 Questions: 27110091 Slow queries: 6306748 Opens: 11593 Flush tables: 1 Open tables: 3000 Queries per second avg: 125.882 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 453194 [warning_count] => 0 ) Query failed: Access denied for user 'www-data'@'localhost' (using password: NO)