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 ('a1af7b4d1319ed24311ce978d38b3c0b', 0, '1547602924')' at line 2 SQL=INSERT INTO (, , ) VALUES ('a1af7b4d1319ed24311ce978d38b3c0b', 0, '1547602924')