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