I cannot connect to the database because: Duplicate entry '54.158.30.165-18:01:39-view-2016-08-31' for key 'PRIMARY'

INSERT INTO visitor_events (ip, time, event_type, date, misc_info) VALUES ("54.158.30.165", "18:01:39", "view", "2016-08-31", "442");