I cannot connect to the database because: Duplicate entry '54.166.214.107-18:02:05-view-2016-05-31' for key 'PRIMARY'

INSERT INTO visitor_events (ip, time, event_type, date, misc_info) VALUES ("54.166.214.107", "18:02:05", "view", "2016-05-31", "126");