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