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