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