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