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