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