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