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