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