Latest:
SELECT e.idEvents,Topic, e.idEventType, EventType, AlternateBooking, MemberOnly, EventTypeDescription, date_format(EventDate, '%W %D %M %Y')as EventDate, date_format(EventTime, '%H:%i')as EventTime , Venue ,Speaker , BriefDescription , FullDescription , CampusMapRef, EventStatus, EventCode, date_format(ToDate, '%W %D %M %Y')as ToDate, idSupper, idImages FROM events as e inner join eventtype as et on e.idEventType=et.idEventType left join images as i on i.idEvents=e.idEvents WHERE EventDate >= curdate() ORDER BY e.EventDate ASC, e.EventTime ASC
Error:Access denied for user 'www-data'@'localhost' (using password: NO)