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