Invalid query: Access denied for user 'apache'@'localhost' (using password: NO) Whole query: select max(id) as id from complaint where area_code = '713' and exchange = '401' group by phone order by id desc limit 52