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