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