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