You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(, , ) VALUES ('e4422899f54eb1e2bb8a719343122207', 0, '1547604364')' at line 2 SQL=INSERT INTO (, , ) VALUES ('e4422899f54eb1e2bb8a719343122207', 0, '1547604364')