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