You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 8 : INSERT INTO statistic (ip_address, nb_visit, date, site_id, page_id)
VALUES (
"34.239.167.149",
1,
"2022-07-06",
2,
)