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