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