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