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